Skip to content

Commit

Permalink
Accept missing baseline updates for microsoft#13721
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham committed Aug 14, 2017
1 parent a1cbeb2 commit 65b49ee
Show file tree
Hide file tree
Showing 22 changed files with 46 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var Test1;
})(Test1 || (Test1 = {}));
var Test2;
(function (Test2) {
var Foo = (function () {
var Foo = /** @class */ (function () {
function Foo() {
}
return Foo;
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/exportDefaultClassInNamespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace ns_abstract_class {
//// [exportDefaultClassInNamespace.js]
var ns_class;
(function (ns_class) {
var default_1 = (function () {
var default_1 = /** @class */ (function () {
function default_1() {
}
return default_1;
Expand All @@ -20,7 +20,7 @@ var ns_class;
})(ns_class || (ns_class = {}));
var ns_abstract_class;
(function (ns_abstract_class) {
var default_2 = (function () {
var default_2 = /** @class */ (function () {
function default_2() {
}
return default_2;
Expand Down
6 changes: 3 additions & 3 deletions tests/baselines/reference/expressionTypeNodeShouldError.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type ItemType3 = true.typeof(nodes.item(0));


//// [string.js]
var C = (function () {
var C = /** @class */ (function () {
function C() {
}
C.prototype.foo = function () {
Expand All @@ -60,7 +60,7 @@ var C = (function () {
var nodes = document.getElementsByTagName("li");
typeof (nodes.item(0));
//// [number.js]
var C2 = (function () {
var C2 = /** @class */ (function () {
function C2() {
}
C2.prototype.foo = function () {
Expand All @@ -72,7 +72,7 @@ var C2 = (function () {
var nodes2 = document.getElementsByTagName("li");
typeof (nodes.item(0));
//// [boolean.js]
var C3 = (function () {
var C3 = /** @class */ (function () {
function C3() {
}
C3.prototype.foo = function () {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionAsyncES3AMD.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ define(["require", "exports"], function (require, exports) {
});
}
exports.fn = fn;
var cl1 = (function () {
var cl1 = /** @class */ (function () {
function cl1() {
}
cl1.prototype.m = function () {
Expand Down Expand Up @@ -117,7 +117,7 @@ define(["require", "exports"], function (require, exports) {
});
}); }
};
var cl2 = (function () {
var cl2 = /** @class */ (function () {
function cl2() {
var _this = this;
this.p = {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionAsyncES3CJS.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function fn() {
});
}
exports.fn = fn;
var cl1 = (function () {
var cl1 = /** @class */ (function () {
function cl1() {
}
cl1.prototype.m = function () {
Expand Down Expand Up @@ -116,7 +116,7 @@ exports.obj = {
});
}); }
};
var cl2 = (function () {
var cl2 = /** @class */ (function () {
function cl2() {
var _this = this;
this.p = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ System.register([], function (exports_1, context_1) {
return {
setters: [],
execute: function () {
cl1 = (function () {
cl1 = /** @class */ (function () {
function cl1() {
}
cl1.prototype.m = function () {
Expand Down Expand Up @@ -121,7 +121,7 @@ System.register([], function (exports_1, context_1) {
});
}); }
});
cl2 = (function () {
cl2 = /** @class */ (function () {
function cl2() {
var _this = this;
this.p = {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionAsyncES3UMD.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
});
}
exports.fn = fn;
var cl1 = (function () {
var cl1 = /** @class */ (function () {
function cl1() {
}
cl1.prototype.m = function () {
Expand Down Expand Up @@ -126,7 +126,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
});
}); }
};
var cl2 = (function () {
var cl2 = /** @class */ (function () {
function cl2() {
var _this = this;
this.p = {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionAsyncES5AMD.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ define(["require", "exports"], function (require, exports) {
});
}
exports.fn = fn;
var cl1 = (function () {
var cl1 = /** @class */ (function () {
function cl1() {
}
cl1.prototype.m = function () {
Expand Down Expand Up @@ -117,7 +117,7 @@ define(["require", "exports"], function (require, exports) {
});
}); }
};
var cl2 = (function () {
var cl2 = /** @class */ (function () {
function cl2() {
var _this = this;
this.p = {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionAsyncES5CJS.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function fn() {
});
}
exports.fn = fn;
var cl1 = (function () {
var cl1 = /** @class */ (function () {
function cl1() {
}
cl1.prototype.m = function () {
Expand Down Expand Up @@ -116,7 +116,7 @@ exports.obj = {
});
}); }
};
var cl2 = (function () {
var cl2 = /** @class */ (function () {
function cl2() {
var _this = this;
this.p = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ System.register([], function (exports_1, context_1) {
return {
setters: [],
execute: function () {
cl1 = (function () {
cl1 = /** @class */ (function () {
function cl1() {
}
cl1.prototype.m = function () {
Expand Down Expand Up @@ -121,7 +121,7 @@ System.register([], function (exports_1, context_1) {
});
}); }
});
cl2 = (function () {
cl2 = /** @class */ (function () {
function cl2() {
var _this = this;
this.p = {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionAsyncES5UMD.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
});
}
exports.fn = fn;
var cl1 = (function () {
var cl1 = /** @class */ (function () {
function cl1() {
}
cl1.prototype.m = function () {
Expand Down Expand Up @@ -126,7 +126,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
});
}); }
};
var cl2 = (function () {
var cl2 = /** @class */ (function () {
function cl2() {
var _this = this;
this.p = {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionES5AMD.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ define(["require", "exports"], function (require, exports) {
function foo() {
var p2 = new Promise(function (resolve_4, reject_4) { require(["./0"], resolve_4, reject_4); });
}
var C = (function () {
var C = /** @class */ (function () {
function C() {
}
C.prototype.method = function () {
var loadAsync = new Promise(function (resolve_5, reject_5) { require(["./0"], resolve_5, reject_5); });
};
return C;
}());
var D = (function () {
var D = /** @class */ (function () {
function D() {
}
D.prototype.method = function () {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionES5CJS.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ exports.p2 = Promise.resolve().then(function () { return require("./0"); });
function foo() {
var p2 = Promise.resolve().then(function () { return require("./0"); });
}
var C = (function () {
var C = /** @class */ (function () {
function C() {
}
C.prototype.method = function () {
var loadAsync = Promise.resolve().then(function () { return require("./0"); });
};
return C;
}());
var D = (function () {
var D = /** @class */ (function () {
function D() {
}
D.prototype.method = function () {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionES5System.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ System.register([], function (exports_1, context_1) {
return zero.foo();
});
exports_1("p2", p2 = context_1.import("./0"));
C = (function () {
C = /** @class */ (function () {
function C() {
}
C.prototype.method = function () {
var loadAsync = context_1.import("./0");
};
return C;
}());
D = (function () {
D = /** @class */ (function () {
function D() {
}
D.prototype.method = function () {
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/importCallExpressionES5UMD.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ export class D {
function foo() {
var p2 = __syncRequire ? Promise.resolve().then(function () { return require("./0"); }) : new Promise(function (resolve_4, reject_4) { require(["./0"], resolve_4, reject_4); });
}
var C = (function () {
var C = /** @class */ (function () {
function C() {
}
C.prototype.method = function () {
var loadAsync = __syncRequire ? Promise.resolve().then(function () { return require("./0"); }) : new Promise(function (resolve_5, reject_5) { require(["./0"], resolve_5, reject_5); });
};
return C;
}());
var D = (function () {
var D = /** @class */ (function () {
function D() {
}
D.prototype.method = function () {
Expand Down
6 changes: 3 additions & 3 deletions tests/baselines/reference/jsdocTypeTagCast.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ var a;
var s;
var a = ("" + 4);
var s = "" + /** @type {*} */ (4);
var SomeBase = (function () {
var SomeBase = /** @class */ (function () {
function SomeBase() {
this.p = 42;
}
return SomeBase;
}());
var SomeDerived = (function (_super) {
var SomeDerived = /** @class */ (function (_super) {
__extends(SomeDerived, _super);
function SomeDerived() {
var _this = _super.call(this) || this;
Expand All @@ -113,7 +113,7 @@ var SomeDerived = (function (_super) {
}
return SomeDerived;
}(SomeBase));
var SomeOther = (function () {
var SomeOther = /** @class */ (function () {
function SomeOther() {
this.q = 42;
}
Expand Down
4 changes: 2 additions & 2 deletions tests/baselines/reference/mappedTypePartialConstraints.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ var __extends = (this && this.__extends) || (function () {
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var MyClass = (function () {
var MyClass = /** @class */ (function () {
function MyClass() {
}
MyClass.prototype.doIt = function (data) { };
return MyClass;
}());
var MySubClass = (function (_super) {
var MySubClass = /** @class */ (function (_super) {
__extends(MySubClass, _super);
function MySubClass() {
return _super !== null && _super.apply(this, arguments) || this;
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/mergedDeclarationExports.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export namespace N {}
exports.__esModule = true;
exports.b = 1;
exports.t = 0;
var d = (function () {
var d = /** @class */ (function () {
function d() {
}
return d;
Expand Down
8 changes: 4 additions & 4 deletions tests/baselines/reference/mixingApparentTypeOverrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var __extends = (this && this.__extends) || (function () {
};
})();
function Tagged(Base) {
return (function (_super) {
return /** @class */ (function (_super) {
__extends(class_1, _super);
function class_1() {
var args = [];
Expand All @@ -54,15 +54,15 @@ function Tagged(Base) {
return class_1;
}(Base));
}
var A = (function () {
var A = /** @class */ (function () {
function A() {
}
A.prototype.toString = function () {
return "class A";
};
return A;
}());
var B = (function (_super) {
var B = /** @class */ (function (_super) {
__extends(B, _super);
function B() {
return _super !== null && _super.apply(this, arguments) || this;
Expand All @@ -72,7 +72,7 @@ var B = (function (_super) {
};
return B;
}(Tagged(A)));
var C = (function (_super) {
var C = /** @class */ (function (_super) {
__extends(C, _super);
function C() {
return _super !== null && _super.apply(this, arguments) || this;
Expand Down
6 changes: 3 additions & 3 deletions tests/baselines/reference/noUnusedLocals_selfReference.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ P;
"use strict";
exports.__esModule = true;
function f() { f; }
var C = (function () {
var C = /** @class */ (function () {
function C() {
}
C.prototype.m = function () { C; };
Expand All @@ -33,14 +33,14 @@ var E;
})(E || (E = {}));
// Does not detect mutual recursion.
function g() { D; }
var D = (function () {
var D = /** @class */ (function () {
function D() {
}
D.prototype.m = function () { g; };
return D;
}());
// Does not work on private methods.
var P = (function () {
var P = /** @class */ (function () {
function P() {
}
P.prototype.m = function () { this.m; };
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/promiseDefinitionTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var Promise = (function () {
var Promise = /** @class */ (function () {
function Promise() {
}
return Promise;
Expand Down
Loading

0 comments on commit 65b49ee

Please sign in to comment.