$ npm install -g typescript
$ npm install -g react-native-cli
$ yarn
$ tsc
or
$ tsc -w
Latter is watching ts sources and compile it automatically. Useful in development.
$ react-native run-ios
# or
$ react-native run-android
tiny example app for react-native + typescript + redux
$ npm install -g typescript
$ npm install -g react-native-cli
$ yarn
$ tsc
or
$ tsc -w
Latter is watching ts sources and compile it automatically. Useful in development.
$ react-native run-ios
# or
$ react-native run-android
tiny example app for react-native + typescript + redux