Skip to content

Commit a3ceed0

Browse files
authored
Update static-type-checking.md
The document did not specify where to edit `babel` config. It is confused for beginner
1 parent 30ff7ee commit a3ceed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/static-type-checking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ yarn add --dev babel-preset-flow
2424
npm install --save-dev babel-preset-flow
2525
```
2626

27-
Then add `flow` to your Babel presets config.
27+
Then add `flow` to your Babel presets config in`.babelrc`.
2828

2929
```json
3030
{
@@ -57,4 +57,4 @@ You can learn more about using TypeScript with React [here](https://github.com/M
5757
create-react-app my-app --scripts-version=react-scripts-ts
5858
```
5959

60-
You can also try [typescript-react-starter](https://github.com/Microsoft/TypeScript-React-Starter#typescript-react-starter).
60+
You can also try [typescript-react-starter](https://github.com/Microsoft/TypeScript-React-Starter#typescript-react-starter).

0 commit comments

Comments
 (0)