$ npm install babel-plugin-transform-flow-enums
This Babel transform turns Flow Enums EnumDeclaration
nodes into calls to the Flow Enums runtime.
This plugin requires the Flow syntax plugin, with {enums: true}
enabled.
Read more about how to enable Flow Enums in your project.
getRuntime
:
require('flow-enums-runtime')
will be used.© 2010 - cnpmjs.org x YWFE | Home | YWFE