Skip to content

Commit 65b49ee

Browse files
committed
Accept missing baseline updates for microsoft#13721
1 parent a1cbeb2 commit 65b49ee

22 files changed

+46
-46
lines changed

tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ var Test1;
5252
})(Test1 || (Test1 = {}));
5353
var Test2;
5454
(function (Test2) {
55-
var Foo = (function () {
55+
var Foo = /** @class */ (function () {
5656
function Foo() {
5757
}
5858
return Foo;

tests/baselines/reference/exportDefaultClassInNamespace.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace ns_abstract_class {
1111
//// [exportDefaultClassInNamespace.js]
1212
var ns_class;
1313
(function (ns_class) {
14-
var default_1 = (function () {
14+
var default_1 = /** @class */ (function () {
1515
function default_1() {
1616
}
1717
return default_1;
@@ -20,7 +20,7 @@ var ns_class;
2020
})(ns_class || (ns_class = {}));
2121
var ns_abstract_class;
2222
(function (ns_abstract_class) {
23-
var default_2 = (function () {
23+
var default_2 = /** @class */ (function () {
2424
function default_2() {
2525
}
2626
return default_2;

tests/baselines/reference/expressionTypeNodeShouldError.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type ItemType3 = true.typeof(nodes.item(0));
4848

4949

5050
//// [string.js]
51-
var C = (function () {
51+
var C = /** @class */ (function () {
5252
function C() {
5353
}
5454
C.prototype.foo = function () {
@@ -60,7 +60,7 @@ var C = (function () {
6060
var nodes = document.getElementsByTagName("li");
6161
typeof (nodes.item(0));
6262
//// [number.js]
63-
var C2 = (function () {
63+
var C2 = /** @class */ (function () {
6464
function C2() {
6565
}
6666
C2.prototype.foo = function () {
@@ -72,7 +72,7 @@ var C2 = (function () {
7272
var nodes2 = document.getElementsByTagName("li");
7373
typeof (nodes.item(0));
7474
//// [boolean.js]
75-
var C3 = (function () {
75+
var C3 = /** @class */ (function () {
7676
function C3() {
7777
}
7878
C3.prototype.foo = function () {

tests/baselines/reference/importCallExpressionAsyncES3AMD.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ define(["require", "exports"], function (require, exports) {
8383
});
8484
}
8585
exports.fn = fn;
86-
var cl1 = (function () {
86+
var cl1 = /** @class */ (function () {
8787
function cl1() {
8888
}
8989
cl1.prototype.m = function () {
@@ -117,7 +117,7 @@ define(["require", "exports"], function (require, exports) {
117117
});
118118
}); }
119119
};
120-
var cl2 = (function () {
120+
var cl2 = /** @class */ (function () {
121121
function cl2() {
122122
var _this = this;
123123
this.p = {

tests/baselines/reference/importCallExpressionAsyncES3CJS.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function fn() {
8282
});
8383
}
8484
exports.fn = fn;
85-
var cl1 = (function () {
85+
var cl1 = /** @class */ (function () {
8686
function cl1() {
8787
}
8888
cl1.prototype.m = function () {
@@ -116,7 +116,7 @@ exports.obj = {
116116
});
117117
}); }
118118
};
119-
var cl2 = (function () {
119+
var cl2 = /** @class */ (function () {
120120
function cl2() {
121121
var _this = this;
122122
this.p = {

tests/baselines/reference/importCallExpressionAsyncES3System.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ System.register([], function (exports_1, context_1) {
8787
return {
8888
setters: [],
8989
execute: function () {
90-
cl1 = (function () {
90+
cl1 = /** @class */ (function () {
9191
function cl1() {
9292
}
9393
cl1.prototype.m = function () {
@@ -121,7 +121,7 @@ System.register([], function (exports_1, context_1) {
121121
});
122122
}); }
123123
});
124-
cl2 = (function () {
124+
cl2 = /** @class */ (function () {
125125
function cl2() {
126126
var _this = this;
127127
this.p = {

tests/baselines/reference/importCallExpressionAsyncES3UMD.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
9292
});
9393
}
9494
exports.fn = fn;
95-
var cl1 = (function () {
95+
var cl1 = /** @class */ (function () {
9696
function cl1() {
9797
}
9898
cl1.prototype.m = function () {
@@ -126,7 +126,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
126126
});
127127
}); }
128128
};
129-
var cl2 = (function () {
129+
var cl2 = /** @class */ (function () {
130130
function cl2() {
131131
var _this = this;
132132
this.p = {

tests/baselines/reference/importCallExpressionAsyncES5AMD.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ define(["require", "exports"], function (require, exports) {
8383
});
8484
}
8585
exports.fn = fn;
86-
var cl1 = (function () {
86+
var cl1 = /** @class */ (function () {
8787
function cl1() {
8888
}
8989
cl1.prototype.m = function () {
@@ -117,7 +117,7 @@ define(["require", "exports"], function (require, exports) {
117117
});
118118
}); }
119119
};
120-
var cl2 = (function () {
120+
var cl2 = /** @class */ (function () {
121121
function cl2() {
122122
var _this = this;
123123
this.p = {

tests/baselines/reference/importCallExpressionAsyncES5CJS.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function fn() {
8282
});
8383
}
8484
exports.fn = fn;
85-
var cl1 = (function () {
85+
var cl1 = /** @class */ (function () {
8686
function cl1() {
8787
}
8888
cl1.prototype.m = function () {
@@ -116,7 +116,7 @@ exports.obj = {
116116
});
117117
}); }
118118
};
119-
var cl2 = (function () {
119+
var cl2 = /** @class */ (function () {
120120
function cl2() {
121121
var _this = this;
122122
this.p = {

tests/baselines/reference/importCallExpressionAsyncES5System.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ System.register([], function (exports_1, context_1) {
8787
return {
8888
setters: [],
8989
execute: function () {
90-
cl1 = (function () {
90+
cl1 = /** @class */ (function () {
9191
function cl1() {
9292
}
9393
cl1.prototype.m = function () {
@@ -121,7 +121,7 @@ System.register([], function (exports_1, context_1) {
121121
});
122122
}); }
123123
});
124-
cl2 = (function () {
124+
cl2 = /** @class */ (function () {
125125
function cl2() {
126126
var _this = this;
127127
this.p = {

tests/baselines/reference/importCallExpressionAsyncES5UMD.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
9292
});
9393
}
9494
exports.fn = fn;
95-
var cl1 = (function () {
95+
var cl1 = /** @class */ (function () {
9696
function cl1() {
9797
}
9898
cl1.prototype.m = function () {
@@ -126,7 +126,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
126126
});
127127
}); }
128128
};
129-
var cl2 = (function () {
129+
var cl2 = /** @class */ (function () {
130130
function cl2() {
131131
var _this = this;
132132
this.p = {

tests/baselines/reference/importCallExpressionES5AMD.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ define(["require", "exports"], function (require, exports) {
4848
function foo() {
4949
var p2 = new Promise(function (resolve_4, reject_4) { require(["./0"], resolve_4, reject_4); });
5050
}
51-
var C = (function () {
51+
var C = /** @class */ (function () {
5252
function C() {
5353
}
5454
C.prototype.method = function () {
5555
var loadAsync = new Promise(function (resolve_5, reject_5) { require(["./0"], resolve_5, reject_5); });
5656
};
5757
return C;
5858
}());
59-
var D = (function () {
59+
var D = /** @class */ (function () {
6060
function D() {
6161
}
6262
D.prototype.method = function () {

tests/baselines/reference/importCallExpressionES5CJS.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ exports.p2 = Promise.resolve().then(function () { return require("./0"); });
4545
function foo() {
4646
var p2 = Promise.resolve().then(function () { return require("./0"); });
4747
}
48-
var C = (function () {
48+
var C = /** @class */ (function () {
4949
function C() {
5050
}
5151
C.prototype.method = function () {
5252
var loadAsync = Promise.resolve().then(function () { return require("./0"); });
5353
};
5454
return C;
5555
}());
56-
var D = (function () {
56+
var D = /** @class */ (function () {
5757
function D() {
5858
}
5959
D.prototype.method = function () {

tests/baselines/reference/importCallExpressionES5System.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ System.register([], function (exports_1, context_1) {
5757
return zero.foo();
5858
});
5959
exports_1("p2", p2 = context_1.import("./0"));
60-
C = (function () {
60+
C = /** @class */ (function () {
6161
function C() {
6262
}
6363
C.prototype.method = function () {
6464
var loadAsync = context_1.import("./0");
6565
};
6666
return C;
6767
}());
68-
D = (function () {
68+
D = /** @class */ (function () {
6969
function D() {
7070
}
7171
D.prototype.method = function () {

tests/baselines/reference/importCallExpressionES5UMD.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ export class D {
6565
function foo() {
6666
var p2 = __syncRequire ? Promise.resolve().then(function () { return require("./0"); }) : new Promise(function (resolve_4, reject_4) { require(["./0"], resolve_4, reject_4); });
6767
}
68-
var C = (function () {
68+
var C = /** @class */ (function () {
6969
function C() {
7070
}
7171
C.prototype.method = function () {
7272
var loadAsync = __syncRequire ? Promise.resolve().then(function () { return require("./0"); }) : new Promise(function (resolve_5, reject_5) { require(["./0"], resolve_5, reject_5); });
7373
};
7474
return C;
7575
}());
76-
var D = (function () {
76+
var D = /** @class */ (function () {
7777
function D() {
7878
}
7979
D.prototype.method = function () {

tests/baselines/reference/jsdocTypeTagCast.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,13 @@ var a;
9898
var s;
9999
var a = ("" + 4);
100100
var s = "" + /** @type {*} */ (4);
101-
var SomeBase = (function () {
101+
var SomeBase = /** @class */ (function () {
102102
function SomeBase() {
103103
this.p = 42;
104104
}
105105
return SomeBase;
106106
}());
107-
var SomeDerived = (function (_super) {
107+
var SomeDerived = /** @class */ (function (_super) {
108108
__extends(SomeDerived, _super);
109109
function SomeDerived() {
110110
var _this = _super.call(this) || this;
@@ -113,7 +113,7 @@ var SomeDerived = (function (_super) {
113113
}
114114
return SomeDerived;
115115
}(SomeBase));
116-
var SomeOther = (function () {
116+
var SomeOther = /** @class */ (function () {
117117
function SomeOther() {
118118
this.q = 42;
119119
}

tests/baselines/reference/mappedTypePartialConstraints.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ var __extends = (this && this.__extends) || (function () {
2828
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2929
};
3030
})();
31-
var MyClass = (function () {
31+
var MyClass = /** @class */ (function () {
3232
function MyClass() {
3333
}
3434
MyClass.prototype.doIt = function (data) { };
3535
return MyClass;
3636
}());
37-
var MySubClass = (function (_super) {
37+
var MySubClass = /** @class */ (function (_super) {
3838
__extends(MySubClass, _super);
3939
function MySubClass() {
4040
return _super !== null && _super.apply(this, arguments) || this;

tests/baselines/reference/mergedDeclarationExports.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export namespace N {}
2828
exports.__esModule = true;
2929
exports.b = 1;
3030
exports.t = 0;
31-
var d = (function () {
31+
var d = /** @class */ (function () {
3232
function d() {
3333
}
3434
return d;

tests/baselines/reference/mixingApparentTypeOverrides.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var __extends = (this && this.__extends) || (function () {
4040
};
4141
})();
4242
function Tagged(Base) {
43-
return (function (_super) {
43+
return /** @class */ (function (_super) {
4444
__extends(class_1, _super);
4545
function class_1() {
4646
var args = [];
@@ -54,15 +54,15 @@ function Tagged(Base) {
5454
return class_1;
5555
}(Base));
5656
}
57-
var A = (function () {
57+
var A = /** @class */ (function () {
5858
function A() {
5959
}
6060
A.prototype.toString = function () {
6161
return "class A";
6262
};
6363
return A;
6464
}());
65-
var B = (function (_super) {
65+
var B = /** @class */ (function (_super) {
6666
__extends(B, _super);
6767
function B() {
6868
return _super !== null && _super.apply(this, arguments) || this;
@@ -72,7 +72,7 @@ var B = (function (_super) {
7272
};
7373
return B;
7474
}(Tagged(A)));
75-
var C = (function (_super) {
75+
var C = /** @class */ (function (_super) {
7676
__extends(C, _super);
7777
function C() {
7878
return _super !== null && _super.apply(this, arguments) || this;

tests/baselines/reference/noUnusedLocals_selfReference.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ P;
2020
"use strict";
2121
exports.__esModule = true;
2222
function f() { f; }
23-
var C = (function () {
23+
var C = /** @class */ (function () {
2424
function C() {
2525
}
2626
C.prototype.m = function () { C; };
@@ -33,14 +33,14 @@ var E;
3333
})(E || (E = {}));
3434
// Does not detect mutual recursion.
3535
function g() { D; }
36-
var D = (function () {
36+
var D = /** @class */ (function () {
3737
function D() {
3838
}
3939
D.prototype.m = function () { g; };
4040
return D;
4141
}());
4242
// Does not work on private methods.
43-
var P = (function () {
43+
var P = /** @class */ (function () {
4444
function P() {
4545
}
4646
P.prototype.m = function () { this.m; };

tests/baselines/reference/promiseDefinitionTest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
4040
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
4141
}
4242
};
43-
var Promise = (function () {
43+
var Promise = /** @class */ (function () {
4444
function Promise() {
4545
}
4646
return Promise;

0 commit comments

Comments
 (0)