get Flow built-in type definition files.
recommend global install
$ yarn global add flow-typedef
In the same directory as
flow-bin installed(almost where is project root),
flow-typedef command. Then typedef files will be generated under the
# cd your-project-dir $ flow-typedef
flow-typedef detect your flow-bin version and get same version typedef files.
And more, I reccomend following setting.
// .flowconfig [ignore] [include] [libs] [lints] [options] no_flowlib=true [strict]
Because Flow built in lib def already there in your
see option detail https://flow.org/en/docs/config/options/#toc-no-flowlib-boolean
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!