Skip to content
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

react.d.ts: type definition error #97

Closed
kohlmannj opened this issue Jul 14, 2018 · 2 comments
Closed

react.d.ts: type definition error #97

kohlmannj opened this issue Jul 14, 2018 · 2 comments

Comments

@kohlmannj
Copy link

I noticed this error when reviewing react.d.ts in Visual Studio Code (using TypeScript v2.9.2):

react.d.ts#L19:35

Cannot find name 'Component'.

Provider<T> should extend React.Component instead.

@NickCarton
Copy link

Got the exact same error - would be great if this could get merged into next release!

developit added a commit that referenced this issue Aug 29, 2018
Fixes for #97 and #103 `react.d.ts` needs to be updated
@developit
Copy link
Owner

I believe the fix for this went out in september.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants