Closed
Description
The following piece of code is being included into each compiled module whenever a class is extended inside that module:
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
So if you have 10 modules that have a class in each one of them that extends some other class, you'll have 10 exactly the same __extends
functions in your compiled code.
Metadata
Metadata
Assignees
Labels
No labels