Skip to content

Commit 7ee42c3

Browse files
committed
Accept new baselines
1 parent 9d9dea0 commit 7ee42c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/baselines/reference/typeofClassExpression1.js

+2
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ var __extends = (this && this.__extends) || (function () {
129129
return extendStatics(d, b);
130130
};
131131
return function (d, b) {
132+
if (typeof b !== "function" && b !== null)
133+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
132134
extendStatics(d, b);
133135
function __() { this.constructor = d; }
134136
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());

0 commit comments

Comments
 (0)