babel-plugin-typescript-strip-namespaces

A Babel plugin to strip away TypeScript namespaces that declare only types

MIT License

Downloads
3.4K
Stars
8

babel-plugin-typescript-strip-namespaces

A Babel plugin to strip away TypeScript namespaces that declare only types

Note: This package is now deprecated. @babel/plugin-transform-typescript itself now supports namespaces.

See test.js for transform examples. This plugin should be used in addition to @babel/plugin-transform-typescript.

Changelog

1.1.1

  • Fix syntax errors on Node 6

1.1.0

  • Loosen @babel/core peer dependency to also include >7.0.0 <7.3.0

1.0.1

  • Allow export declarations
Package Rankings
Top 6.21% on Npmjs.org
Badges
Extracted from project README
npm package license