0.1.0 • Published 10 years ago
@metalab/generator-flowtype v0.1.0
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.
0.1.0
10 years ago