Skip to content

Commit

Permalink
Add docs for creating new TypeScript project (facebook#6015)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbelsky authored and hisapy committed Dec 14, 2018
1 parent ba7846f commit 6a548e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docusaurus/docs/adding-typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ title: Adding TypeScript
[TypeScript](https://www.typescriptlang.org/) is a typed superset of JavaScript that compiles to plain JavaScript.

To start a new Create React App project with [TypeScript](https://www.typescriptlang.org/), you can run:

```bash
$ npx create-react-app my-app --typescript
$ # or
$ yarn create react-app my-app --typescript
```

To add [TypeScript](https://www.typescriptlang.org/) to a Create React App project, first install it:

```bash
Expand Down

0 comments on commit 6a548e8

Please sign in to comment.