Browse Source
Merge pull request #285 from tranvansang/patch-1
Update static-type-checking.md
main
Brian Vaughn
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
content/docs/static-type-checking.md
|
|
@ -24,7 +24,7 @@ yarn add --dev babel-preset-flow |
|
|
|
npm install --save-dev babel-preset-flow |
|
|
|
``` |
|
|
|
|
|
|
|
Then add `flow` to your Babel presets config. |
|
|
|
Then add `flow` to your Babel presets config (`.babelrc`). |
|
|
|
|
|
|
|
```json |
|
|
|
{ |
|
|
@ -57,4 +57,4 @@ You can learn more about using TypeScript with React [here](https://github.com/M |
|
|
|
create-react-app my-app --scripts-version=react-scripts-ts |
|
|
|
``` |
|
|
|
|
|
|
|
You can also try [typescript-react-starter](https://github.com/Microsoft/TypeScript-React-Starter#typescript-react-starter). |
|
|
|
You can also try [typescript-react-starter](https://github.com/Microsoft/TypeScript-React-Starter#typescript-react-starter). |
|
|
|