Closed jonathanglasmeyer closed 9 years ago
@jonathanewerner Shouldn't babel strip them by default? At least that has been my experience with flowcheck.
Oh, you're right. :)
yeah just disable the plugin to preserve normal behaviour. I'm thinking of adding an environment variable check to make this easier, e.g. BABEL_TYPECHECK_DISABLE=1 babel ./foo.js
Is there a way to strip the type annotations in production?
Otherwise this looks like a great approach.