【发布时间】:2020-11-18 20:55:52
【问题描述】:
我输入命令以使用 typescript 创建 React Native 项目。
npx react-native init MyApp --template react-native-template-typescript
package.json
"react-native": "0.63.2"
我想用 typescript 创建 0.62.2,所以我尝试了命令:
npx react-native init MyApp --version 0.62.2 --template react-native-template-typescript
package.json
"react-native": "0.63.0"
是 0.63.0 而不是 0.62.2
为什么我不能用 typescript 创建 0.62.2?
【问题讨论】:
标签: typescript react-native react-typescript