MCPcopy Create free account
hub / github.com/microsoft/tslib / __extends

Function __extends

tslib.es6.js:24–30  ·  view source on GitHub ↗
(d, b)

Source from the content-addressed store, hash-verified

22};
23
24export function __extends(d, b) {
25 if (typeof b !== "function" && b !== null)
26 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
27 extendStatics(d, b);
28 function __() { this.constructor = d; }
29 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30}
31
32export var __assign = function() {
33 __assign = Object.assign || function __assign(t) {

Callers

nothing calls this directly

Calls 1

extendStaticsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…