typescript-metadata

1.0.0 • Public • Published

Typescript __metadata 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({
		__metadata: 'typescript-metadata'
	})
],

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i typescript-metadata

      Weekly Downloads

      3

      Version

      1.0.0

      License

      ISC

      Last publish

      Collaborators

      • sanex3339