-
Notifications
You must be signed in to change notification settings - Fork 398
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
176 type errors after react-native init #94
Comments
Fixed by:
|
I think that removing the react types, don't like the best solution. Since at the end, you will need to use these types on your application. Did you find anything that can explain why is this related to |
They are currently included by Perhaps the fix is not in this project but in |
I was thinking about this. But looking at: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native, i dont find anything related to You can share your project with us? Maybe this can be something related to other thing. |
@MateusAndrade Just do the steps to reproduce. |
This is the type of error:
|
Look at:
Removing |
Yeah so the issue is the DefinitelyTyped publisher is generating a package.json with a dependency instead of a peerDependency? |
Thats a good question. 😄 I dont know further about how DefinitelyTyped handles this, but i dont find another reason to this problem. |
Fixed by #94 |
Bug
176 typescript errors after initialising project with typescript template (using community cli).
Environment info
React native info output:
Library version: latest (from cli)
Steps To Reproduce
Describe what you expected to happen:
Reproducible sample code
n/a
The text was updated successfully, but these errors were encountered: