Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

typescript-awaiter

sanex3339320ISC1.0.0

Typescript __awaiter helper exported as module

typescript, helpers, awaiter, typescript-helpers, webpack

readme

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'
    })
],