Skip to content

Commit 87ca884

Browse files
committed
Merge branch 'master' into explainFiles
2 parents 3a4613e + 8d952cb commit 87ca884

File tree

2 files changed

+22
-20
lines changed

2 files changed

+22
-20
lines changed

package-lock.json

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/baselines/reference/jsDeclarationsSubclassWithExplicitNoArgumentConstructor.js

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ var __extends = (this && this.__extends) || (function () {
2323
return extendStatics(d, b);
2424
};
2525
return function (d, b) {
26+
if (typeof b !== "function" && b !== null)
27+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
2628
extendStatics(d, b);
2729
function __() { this.constructor = d; }
2830
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());

0 commit comments

Comments
 (0)