TypeScript/tests/baselines/reference/staticPrototypeProperty.js

22 lines
332 B
TypeScript

//// [staticPrototypeProperty.ts]
class C {
static prototype() { }
}
class C2 {
static prototype;
}
//// [staticPrototypeProperty.js]
var C = (function () {
function C() {
}
C.prototype = function () { };
return C;
})();
var C2 = (function () {
function C2() {
}
return C2;
})();