Strip flow type annotations from your output code.
Strip flow type annotations from your output code.
``sh`
$ npm install babel-plugin-transform-flow-strip-types
.babelrc
`json`
{
"plugins": ["transform-flow-strip-types"]
}
`sh`
$ babel --plugins transform-flow-strip-types script.js
`javascript``
require("babel-core").transform("code", {
plugins: ["transform-flow-strip-types"]
});