We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eff815 commit 4a6007eCopy full SHA for 4a6007e
docusaurus/docs/adding-typescript.md
@@ -7,6 +7,14 @@ title: Adding TypeScript
7
8
[TypeScript](https://www.typescriptlang.org/) is a typed superset of JavaScript that compiles to plain JavaScript.
9
10
+To start a new Create React App project with [TypeScript](https://www.typescriptlang.org/), you can run:
11
+
12
+```bash
13
+$ npx create-react-app my-app --typescript
14
+$ # or
15
+$ yarn create react-app my-app --typescript
16
+```
17
18
To add [TypeScript](https://www.typescriptlang.org/) to a Create React App project, first install it:
19
20
```bash
0 commit comments