typescript-awaiter

v1.0.0
Typescript `__awaiter` helper exported as module
typescript helpers awaiter typescript-helpers webpack

Typescript __awaiter 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({
        __awaiter: 'typescript-awaiter'
    })
],
npm i typescript-awaiter

Metadata

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

Downloads

Maintainers