diff --git a/docs/next/typescript.html b/docs/next/typescript.html index e846c6c0596..a89476887a9 100644 --- a/docs/next/typescript.html +++ b/docs/next/typescript.html @@ -74,7 +74,11 @@
npx react-native init MyApp --template react-native-template-typescript
 
-

Note If the above command is failing, you may have old version of react-native or react-native-cli installed globally on your pc. Try uninstalling the cli and run the cli using npx.

+

Note: If the above command is failing, you may have old version of react-native or react-native-cli installed globally on your system. To fix the issue try uninstalling the CLI:

+ +

and then run the npx command again.

You can use Expo which has two TypeScript templates:

npm install -g expo-cli
diff --git a/docs/next/typescript/index.html b/docs/next/typescript/index.html
index e846c6c0596..a89476887a9 100644
--- a/docs/next/typescript/index.html
+++ b/docs/next/typescript/index.html
@@ -74,7 +74,11 @@
 
npx react-native init MyApp --template react-native-template-typescript
 
-

Note If the above command is failing, you may have old version of react-native or react-native-cli installed globally on your pc. Try uninstalling the cli and run the cli using npx.

+

Note: If the above command is failing, you may have old version of react-native or react-native-cli installed globally on your system. To fix the issue try uninstalling the CLI:

+
    +
  • npm uninstall -g react-native-cli or yarn global remove react-native-cli
  • +
+

and then run the npx command again.

You can use Expo which has two TypeScript templates:

npm install -g expo-cli