typescript-generator
v1.0.1
Published
Typescript `__generator` helper exported as module
Downloads
15
Maintainers
Readme
Typescript __generator
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({
__generator: 'typescript-generator'
})
],