@hqjs/babel-plugin-transform-typescript

0.0.12 • Public • Published

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

Package Sidebar

Install

npm i @hqjs/babel-plugin-transform-typescript

Homepage

hqjs.org

Weekly Downloads

17

Version

0.0.12

License

MIT

Unpacked Size

38.2 kB

Total Files

8

Last publish

Collaborators

  • hqjs