TypeScript/tests/baselines/reference/staticModifierAlreadySeen.js
2015-02-06 18:45:09 -08:00

15 lines
270 B
JavaScript

//// [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;
})();