react native ts app code example Example: create react native app typescript npx react-native init MyApp --template react-native-template-typescript