You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,3 @@
1
-
## TypeScript support out of the box with React Native 0.57!!!
2
-
3
-
This template will no longer be maintained as native TypeScript support has been added to React Native 0.57: https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md#057
### Why this template when React Native 0.57+ supports TypeScript out of the box?
22
+
23
+
First of all, I started this template before React Native 0.57 came out. After React Native 0.57 was announced, I planned to stop maintaining this template. But I realized to properly set up a new React Native 0.57+ project, you still have to do manual work (add type definitions for React & React Naitve, create a `.tsconfig` for type checking, etc.). And that's where this template comes in and does that work for you :blush:.
-[Type definitions for React & React Native](https://github.com/DefinitelyTyped/DefinitelyTyped)
32
-
-[TS Jest](https://github.com/kulshekhar/ts-jest)
33
29
34
30
This template always uses the latest versions of the dependencies at the time when the `react-native init` command is being executed. This means you don't have to worry about old versions.
35
31
@@ -45,6 +41,10 @@ Yes it does.
45
41
46
42
[](https://medium.com/@emin93/react-native-typescript-b965059109d3)
47
43
44
+
### How to do type checking?
45
+
46
+
`npm run tsc`
47
+
48
48
## :globe_with_meridians: Links
49
49
50
50
-["Using React Native with TypeScript just became simple" on Medium](https://medium.com/@emin93/react-native-typescript-b965059109d3)
0 commit comments