TypeScript/tests/baselines/reference/parserMemberFunctionDeclaration2.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

13 lines
258 B
TypeScript

//// [parserMemberFunctionDeclaration2.ts]
class C {
static static Foo() { }
}
//// [parserMemberFunctionDeclaration2.js]
var C = /** @class */ (function () {
function C() {
}
C.prototype.Foo = function () { };
return C;
}());