2014-07-13 01:04:16 +02:00
|
|
|
//// [staticAndNonStaticPropertiesSameName.ts]
|
|
|
|
class C {
|
|
|
|
x: number;
|
|
|
|
static x: number;
|
|
|
|
|
|
|
|
f() { }
|
|
|
|
static f() { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [staticAndNonStaticPropertiesSameName.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
2015-03-26 21:46:35 +01:00
|
|
|
C.prototype.f = function () { };
|
|
|
|
C.f = function () { };
|
2014-07-13 01:04:16 +02:00
|
|
|
return C;
|
|
|
|
})();
|