mattes3 / gatsby-typescript-blog-v2

A repo just to reproduce a Typescript compile-time error in gatsby-link

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gatsby-typescript-blog

(Originally created by Gatsby starter for creating a blog:

gatsby new gatsby-typescript-blog https://github.com/gatsbyjs/gatsby-starter-blog#v2

I renamed blog-post.js to blog-post.tsx to start developing in Typescript. However, I found two compile time errors that I could not get rid of.

You'll see the errors here

Open src/templates/blog-post.tsx (e.g. with Visual Studio Code) to see these error messages:

Cmd-click on Link to open the Typescript definition file for the Link tag, and you'll find another error message:

About

A repo just to reproduce a Typescript compile-time error in gatsby-link

License:MIT License


Languages

Language:JavaScript 78.7%Language:TypeScript 21.3%