Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion website/versioned_docs/version-0.60/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ original_id: typescript
If you're starting a new project, there are a few different ways to get started. You can use the [TypeScript template][ts-template]:

```sh
# Template version is specifically for React Native 0.60
npx react-native init MyTSProject --template react-native-template-typescript@6.2.0
```

Expand All @@ -33,7 +34,7 @@ ignite new MyTSProject
1. Add TypeScript and the types for React Native and Jest to your project.

```sh
yarn add --dev typescript @types/jest @types/react @types/react-native @types/react-test-renderer
yarn add --dev typescript @types/jest @types/react @types/react-native @types/react-test-renderer
# or for npm
npm install --save-dev typescript @types/jest @types/react @types/react-native @types/react-test-renderer
```
Expand Down
3 changes: 2 additions & 1 deletion website/versioned_docs/version-0.61/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ original_id: typescript
If you're starting a new project, there are a few different ways to get started. You can use the [TypeScript template][ts-template]:

```sh
npx react-native init MyTSProject --template react-native-template-typescript
# Template version is specifically for React Native 0.61
npx react-native init MyTSProject --template react-native-template-typescript@6.3.16
```

You can use [Expo][expo] which has two TypeScript templates:
Expand Down