typescript-extends

v1.0.1
Typescript `__extends` helper exported as module
typescript helpers extends typescript-helpers webpack

Typescript __extends helper exported as node module

In cases, when you want to disable typescript helpers generation with --noEmitHelpers flag, you need to include that helpers manually. Now, you can do that easily!

Example with Webpack

// webpack configuration object

plugins: [
    new webpack.ProvidePlugin({
        __extends: 'typescript-extends'
    })
],
npm i typescript-extends

Metadata

  • ISC
  • Whatever
  • sanex3339
  • released 4/13/2016

Downloads

Maintainers