TypeScript/tests/baselines/reference/staticAndNonStaticPropertiesSameName.js
2014-07-12 17:30:19 -07:00

20 lines
329 B
JavaScript

//// [staticAndNonStaticPropertiesSameName.ts]
class C {
x: number;
static x: number;
f() { }
static f() { }
}
//// [staticAndNonStaticPropertiesSameName.js]
var C = (function () {
function C() {
}
C.prototype.f = function () {
};
C.f = function () {
};
return C;
})();