14 lines
270 B
TypeScript
14 lines
270 B
TypeScript
//// [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;
|
|
})();
|