$ cnpm 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.Copyright 2013 - present © cnpmjs.org | Home |