diff --git a/tests/baselines/reference/derivedUninitializedPropertyDeclaration.js b/tests/baselines/reference/derivedUninitializedPropertyDeclaration.js index 471cd5bbf1d..48715eefe0c 100644 --- a/tests/baselines/reference/derivedUninitializedPropertyDeclaration.js +++ b/tests/baselines/reference/derivedUninitializedPropertyDeclaration.js @@ -113,9 +113,7 @@ var BDBang = /** @class */ (function (_super) { var BOther = /** @class */ (function (_super) { __extends(BOther, _super); function BOther() { - var _this = _super !== null && _super.apply(this, arguments) || this; - _this.property = 'y'; // initialiser not allowed with declare - return _this; + return _super !== null && _super.apply(this, arguments) || this; } BOther.prototype.m = function () { return 2; }; // not allowed on methods return BOther; diff --git a/tests/baselines/reference/illegalModifiersOnClassElements.js b/tests/baselines/reference/illegalModifiersOnClassElements.js index b87c822738b..1650d65aa70 100644 --- a/tests/baselines/reference/illegalModifiersOnClassElements.js +++ b/tests/baselines/reference/illegalModifiersOnClassElements.js @@ -7,7 +7,6 @@ class C { //// [illegalModifiersOnClassElements.js] var C = /** @class */ (function () { function C() { - this.foo = 1; this.bar = 1; } return C;