mocked-flowtype
v0.0.3
Published
A collection of mocked libraries that when mapped to their real counterparts, provide sophisticated flowtype support
Downloads
3
Readme
Mocked Flowtype
For more powerful 3rd party flowtype integration
Additional Resources
Installation
$ npm install --save mocked-flowtype
.flowconfing
[options]
module.name_mapper = module.name_mapper='^pluginName$' -> 'mocked-flowtype/definitions/pluginName/x.x.x(pluginVersion)_x.x.x(flowtypeVersion)'
How it works
Flow ships with a config option that allows you to stub modules with more type friendly code. The mocked-flowtype library is simply a collection of type friendly modules.