TypeScript/tests/baselines/reference/staticPrototypeProperty.js

23 lines
337 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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;
})();