-
Notifications
You must be signed in to change notification settings - Fork 395
The template lack deps @types/react
#298
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
Comments
I'm not so familiar with pnpm, do you have any potential solutions for this? |
Solution in userland is to install The template ought to include them though instead of relying on them being pulled in by |
I agree with @tom-sherman that |
As discussed in react-native-community#298, if we decide to add `@types/react` to the template this PR should work
As discussed in #298, if we decide to add `@types/react` to the template this PR should work
Fixed in |
Expected results
When use other package manager eg: npm, pnpm, no eslint errors are reported.
Observed results
when use pnpm install new package, there report import error:
Logs
no logs, this is a eslint error.
Steps to reproduce
pnpx react-native init ReactNativeTSApp --template react-native-template-typescript
pnpm install @react-navigation/native
The text was updated successfully, but these errors were encountered: