$ gnpm install babel-plugin-transform-flow-strip-types
Strip flow type annotations from your output code.
$ npm install babel-plugin-transform-flow-strip-types
.babelrc
(Recommended).babelrc
{
"plugins": ["transform-flow-strip-types"]
}
$ babel --plugins transform-flow-strip-types script.js
require("babel-core").transform("code", {
plugins: ["transform-flow-strip-types"]
});
Copyright 2013 - present © cnpmjs.org | Home |