From 8d952cb43e8fe163d5ae2afb857d938241402ff2 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Thu, 3 Dec 2020 08:59:14 -0800 Subject: [PATCH] Fix insufficiently merged baselines (#41803) --- .../jsDeclarationsSubclassWithExplicitNoArgumentConstructor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/baselines/reference/jsDeclarationsSubclassWithExplicitNoArgumentConstructor.js b/tests/baselines/reference/jsDeclarationsSubclassWithExplicitNoArgumentConstructor.js index 42cafa5e355a0..8abe7764586b0 100644 --- a/tests/baselines/reference/jsDeclarationsSubclassWithExplicitNoArgumentConstructor.js +++ b/tests/baselines/reference/jsDeclarationsSubclassWithExplicitNoArgumentConstructor.js @@ -23,6 +23,8 @@ var __extends = (this && this.__extends) || (function () { return extendStatics(d, b); }; return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());