You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
2. Add `"flow": "flow"` to the `scripts` section of your `package.json`.
693
-
3. Run `npm run flow -- init` (or `yarn flow -- init`) to create a [`.flowconfig` file](https://flowtype.org/docs/advanced-configuration.html) in the root directory.
693
+
3. Run `npm run flow init` (or `yarn flow init`) to create a [`.flowconfig` file](https://flowtype.org/docs/advanced-configuration.html) in the root directory.
694
694
4. Add `// @flow` to any files you want to type check (for example, to `src/App.js`).
695
695
696
696
Now you can run `npm run flow` (or `yarn flow`) to check the files for type errors.
0 commit comments