facebookarchive / flow-remove-types

🚿 Removes Flow type annotations from JavaScript files with speed and simplicity.
MIT License
467 stars 52 forks source link

Add support and tests for opaque types #61

Closed huwyca closed 6 years ago

huwyca commented 6 years ago

Currently only exported opaque types are being removed due to the ExportNamedDeclaration AST type.

This adds support for removing AST nodes with type DeclareOpaqueType or OpaqueType.

huwyca commented 6 years ago

@leebyron let me know if this needs anything 😄

huwyca commented 6 years ago

Closing as this hasn't been resolved in months.