Skip to content

Commit 9f43125

Browse files
committed
accept baseline
1 parent 3ab3bb6 commit 9f43125

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tests/baselines/reference/api/typescript.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -3459,7 +3459,6 @@ declare namespace ts {
34593459
function isObjectLiteralElement(node: Node): node is ObjectLiteralElement;
34603460
function isStringLiteralLike(node: Node): node is StringLiteralLike;
34613461
}
3462-
34633462
declare namespace ts {
34643463
function createNode(kind: SyntaxKind, pos?: number, end?: number): Node;
34653464
/**

tests/baselines/reference/typeGuardConstructor.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,12 @@ if (bar.constructor === Baz) {
9696

9797
//// [typeGuardConstructor.js]
9898
var __extends = (this && this.__extends) || (function () {
99-
var extendStatics = Object.setPrototypeOf ||
100-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
101-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
99+
var extendStatics = function (d, b) {
100+
extendStatics = Object.setPrototypeOf ||
101+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
102+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
103+
return extendStatics(d, b);
104+
}
102105
return function (d, b) {
103106
extendStatics(d, b);
104107
function __() { this.constructor = d; }

0 commit comments

Comments
 (0)