-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Unexpected type errors using future versions of typescript #2856
Labels
Comments
I used create-react-app-typescript with
|
@layershifter I opened a PR, thanks for the quick response. 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Whilst testing out future typescript releases I ran into some type errors that weren't popping up before.
Steps
Transpile a project using
typescript
andsemantic-ui-react
.Expected Result
Should transpile without problems.
Actual Result
Receive type errors like the following:
Version
typescript@insiders
&typescript@next
[email protected]
Testcase
I can't share the code but the issue is basically that typescript isn't finding the type definitions. This can be solved by adding
"types": "index.d.ts"
to thepackage.json
.The text was updated successfully, but these errors were encountered: