babel/packages/babel-plugin-transform-typescript
王清雨 0542f0d7da
feat(typescript): implement namespace alias (#13528)
support `import alias = Namespace`, reject `import alias = require('foo')`

fix #12345
2021-08-03 23:55:56 +02:00
..
2021-06-14 21:45:36 +00: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