Create a React Native App with TypeScript Enabled
The react-native
cli has a --template
option where you can specify typescript
as the template:
react-native init TILApp --template typescript
After the command finishes, there is an extra step that you have to run manually:
cd TILApp && node setup.js
Now you're all set to start editing the App.tsx
file.