0.0.12 • Published 5 years ago

@hqjs/babel-plugin-transform-typescript v0.0.12

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

https://hqjs.org

Original bebel plugin fork that allows to work with parameter decorators and dependency injection

The plugin is in sync with version 7.12.1 of official plugin, the difference is that Program transformation is done on exit rather then on enter (due to that jsxPragma check is done differently as on program exit there is no JSX left when react preset is being used), that allows to apply additional transformations to import statements. Plugin has extra option removeUnusedImports default to true. When the option is set to false, plugin does not try to remove unused imports that could be suitable for preprocessing templates like svelte.

Installation

npm install hqjs@babel-plugin-transform-typescript