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

13 lines
219 B
TypeScript

//// [propertyNamedPrototype.ts]
class C {
prototype: number; // ok
static prototype: C; // error
}
//// [propertyNamedPrototype.js]
var C = (function () {
function C() {
}
return C;
})();