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

25 lines
386 B
JavaScript

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