@metalab/generator-flowtype
v0.1.0
Published
Add [flow] static type checking to your JavaScript projects.
Downloads
2
Readme
generator-flowtype
Add flow static type checking to your JavaScript projects.
npm install -g @metalab/generator-flowtype
yo @metalab/flowtype
Use with React:
yo @metalab/flowtype:lib --path node_modules/fbjs/flow/include
IMPORTANT: flow check --all
is pretty broken. You have to annotate every single file you want to check with /* @flow */
. Hopefully this will be addressed with https://github.com/facebook/flow/issues/284.