mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-26 18:58:17 +00:00
Update static-type-checking.md
This commit is contained in:
@@ -220,13 +220,13 @@ The compiler is of no help to us until we tell it what to do. In TypeScript, the
|
||||
|
||||
If you use [Yarn](https://yarnpkg.com/), run:
|
||||
|
||||
```shell
|
||||
```bash
|
||||
yarn run tsc --init
|
||||
```
|
||||
|
||||
If you use [npm](https://www.npmjs.com/), run:
|
||||
|
||||
```shell
|
||||
```bash
|
||||
npx tsc --init
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user