Browse Source

Update static-type-checking.md

main
Dan Abramov 7 years ago
committed by GitHub
parent
commit
de9276169c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/static-type-checking.md

2
content/docs/static-type-checking.md

@ -83,7 +83,7 @@ If you use npm, run:
npm install --save-dev babel-preset-flow
```
Then add `flow` to your [Babel configuration](http://babeljs.io/docs/usage/babelrc/). For example, if you configure Babel through `.babelrc` file, it could look like this:
Then add the `flow` preset to your [Babel configuration](http://babeljs.io/docs/usage/babelrc/). For example, if you configure Babel through `.babelrc` file, it could look like this:
```js{3}
{

Loading…
Cancel
Save