use typescript in react native code example Example: react native typescript npx react-native init MyApp --template react-native-template-typescript