I initially created my project using react-native init but checking on App.tsx there has several error
react-native init
can you guys tell me why i am having this issue?
the tsconfig.json only use this
tsconfig.json
{ "extends": "@tsconfig/react-native/tsconfig.json" }
do i forget something to setup?
2
I fixed the issue by adding item into file: Association on vscode settings
You need to start the project with: npx react-native@latest init AwesomeProject
npx react-native@latest init AwesomeProject
Look: https://reactnative.dev/docs/environment-setup
From version 0.71 the typescript is already coming by default: https://reactnative.dev/blog/2023/01/12/version-071
Click here to cancel reply.
2
Answers
I fixed the issue by adding item into file: Association on vscode settings
You need to start the project with:
npx react-native@latest init AwesomeProject
Look:
https://reactnative.dev/docs/environment-setup
From version 0.71 the typescript is already coming by default:
https://reactnative.dev/blog/2023/01/12/version-071