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