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
1 additions and
2 deletions
-
content/docs/static-type-checking.md
|
@ -24,10 +24,9 @@ yarn add --dev babel-preset-flow |
|
|
npm install --save-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 |
|
|
```json |
|
|
// .babelrc |
|
|
|
|
|
{ |
|
|
{ |
|
|
"presets": ["flow"] |
|
|
"presets": ["flow"] |
|
|
} |
|
|
} |
|
|