mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
update baselines
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -7,7 +7,6 @@ class C {
|
||||
//// [illegalModifiersOnClassElements.js]
|
||||
var C = /** @class */ (function () {
|
||||
function C() {
|
||||
this.foo = 1;
|
||||
this.bar = 1;
|
||||
}
|
||||
return C;
|
||||
|
||||
Reference in New Issue
Block a user