From a3ceed01ea85b38981150ef2e834fad76c25b814 Mon Sep 17 00:00:00 2001 From: Tran Van Sang Date: Tue, 14 Nov 2017 12:28:57 +0900 Subject: [PATCH] Update static-type-checking.md The document did not specify where to edit `babel` config. It is confused for beginner --- content/docs/static-type-checking.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/static-type-checking.md b/content/docs/static-type-checking.md index e9e34e518..2417c4ee7 100644 --- a/content/docs/static-type-checking.md +++ b/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 in`.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). \ No newline at end of file +You can also try [typescript-react-starter](https://github.com/Microsoft/TypeScript-React-Starter#typescript-react-starter).