How to use @babel/plugin-transform-typescript - 1 common examples

To help you get started, we’ve selected a few @babel/plugin-transform-typescript examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github awto / effectfuljs / packages / debugger / config / babel / ts-preproc.js View on Github external
module.exports = function(_, opts) {
  return {
    plugins: [
      require("./ts-no-consts"),
      [require("@babel/plugin-transform-typescript").default, opts]
    ]
  };
};

@babel/plugin-transform-typescript

Transform TypeScript into ES.next

MIT
Latest version published 1 month ago

Package Health Score

95 / 100
Full package analysis

Popular @babel/plugin-transform-typescript functions