mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 17:25:59 +02:00
Add types for react and tsconfig
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import * as React from "react";
|
||||
import React from "react";
|
||||
import { graphql } from "gatsby";
|
||||
import Layout from "../components/Layout";
|
||||
|
||||
const LanguagePost = ({ data }) => {
|
||||
// @todo maybe find alternative type for data
|
||||
const LanguagePost = ({ data }: any) => {
|
||||
const { html } = data.file.post;
|
||||
console.log(data)
|
||||
return (
|
||||
@@ -26,4 +27,4 @@ export const query = graphql`
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user