We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 704d9bf commit 226cb0eCopy full SHA for 226cb0e
3 files changed
index.js
@@ -7,6 +7,8 @@ var __extends = (this && this.__extends) || (function () {
7
return extendStatics(d, b);
8
};
9
return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
extendStatics(d, b);
13
function __() { this.constructor = d; }
14
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
0 commit comments