TypeScript/tests/baselines/reference/staticModifierAlreadySeen.js
Orta Therox 016d78b09e
Allow for class static vars to be called static (#44813)
* Allow for class static vars to be called static - re: #41127

* Add the baselines
2021-10-01 14:28:08 +01:00

15 lines
301 B
TypeScript

//// [staticModifierAlreadySeen.ts]
class C {
static static foo = 1;
public static static bar() { }
}
//// [staticModifierAlreadySeen.js]
var C = /** @class */ (function () {
function C() {
this.foo = 1;
}
C.prototype.bar = function () { };
return C;
}());