Add types for react and tsconfig

This commit is contained in:
supergrecko
2019-07-27 01:09:07 +02:00
parent 69fc1a3dbd
commit d2f9ffc2a3
6 changed files with 118 additions and 16 deletions
+3 -4
View File
@@ -1,5 +1,4 @@
import * as React from "react"
import PropTypes from "prop-types"
import React from "react"
import Helmet from "react-helmet"
import { useStaticQuery, graphql } from "gatsby"
@@ -67,9 +66,9 @@ const SEO = ({ description = "", lang = "en", meta = [], title }: SEOProps) => {
name: `twitter:description`,
content: metaDescription,
},
].concat(meta)}
]}
/>
)
}
};
export default SEO