—noEmitHelpers command line option
The TypeScript compiler emits a few helpers like __extends
when needed. The helpers are emitted in every file they are referenced in. If you want to consolidate all helpers in one place, or override the default behavior, use —noEmitHelpers
to instructs the compiler not to emit them.