babel/packages/babel-plugin-transform-typescript
Huáng Jùnliàng 74ed698c2e
Support destructuring variable declarator within TS namespace (#12760)
* refactor: extract handleVariableDeclaration

* fix: support general variable declarator under namespace

* fix: support general declarator on export module id duplication check

* refactor: use for-in
2021-02-05 11:52:15 -05:00
..
2021-02-03 01:59:31 +01:00

@babel/plugin-transform-typescript

Transform TypeScript into ES.next

See our website @babel/plugin-transform-typescript for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-transform-typescript

or using yarn:

yarn add @babel/plugin-transform-typescript --dev