Comments (4)
Solution in userland is to install @types/react
after initting the project.
The template ought to include them though instead of relying on them being pulled in by @types/react-native
from react-native-template-typescript.
I'm not so familiar with pnpm, do you have any potential solutions for this?
from react-native-template-typescript.
I agree with @tom-sherman that @types/react
should be included in the template rather than being installed by users themselves.
from react-native-template-typescript.
Fixed in 6.12.6
, thanks for the contribution @EkaanshArora 👍
from react-native-template-typescript.
Related Issues (20)
- How to create typescript related to react native 0.64.0 HOT 1
- Use error report
- React Native 69 will use iOS 12.4 as minimal version but we still recommends es2017 in TS config HOT 3
- can not run npx react-native init MyApp HOT 1
- Custom Path for 0.69+ not working HOT 1
- Typescript displays wrong messages.
- undefined is not a object(evaluating 'o[typeof Symbol === "function"?Symbol.iterator:"@@iterator"]')
- set 'no-unused-vars' prop value 'error' but doesn't work
- There is a Helloworld.xcworkspace file in the ios folder every time I use the typescript template. HOT 3
- npx react-native init fails with latest typescipt template HOT 2
- How to reinstall all deps when cloning a repo initialized with this project? HOT 1
- Error: Couldn't find the "/template.config.js file inside "react-native" template. HOT 1
- Question HOT 1
- Android and iOS folders are missing while executing the command
- Using with specified version of RN doesn't work HOT 1
- Android app will not run after default init HOT 1
- An error is reported during initialization ? HOT 1
- Support for RN 0.71? HOT 1
- How can I install [email protected]? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-template-typescript.