-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong declaration of GatsbyLink with typescript 2.4.2 #1627
Comments
@timsuchanek and @fabien0102 comments? |
I think the problem is that Typescript got stricter about the generics, in this case the |
@timsuchanek yeah sure, will set it up! |
@timsuchanek the fix is ready for review: #1628 |
Fixed in #1628 |
Hey there, im trying to use Gatsby with typescript 2.4.2 but it throws an error telling me that the signature of the
GatsbyLink
export is wrong:I could fix it by changing it to
Im just running the starter code for
index.tsx
:The error message:
my tsconfig:
See last comment on this issue to see how i found the fix.
The text was updated successfully, but these errors were encountered: