TypeScript/tests/baselines/reference/staticModifierAlreadySeen.js

16 lines
275 B
JavaScript
Raw Normal View History

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