Strip flow types transform

This plugin strips all flow type annotations and declarations.

Example

In

function foo(one: any, two: number, three?): string {}

Out

function foo(one, two, three) {}

Installation

$ npm install babel-plugin-transform-flow-strip-types

Usage

Add the following line to your .babelrc file:

{
  "plugins": ["transform-flow-strip-types"]
}