TypeScript/tests/cases/conformance/classes/propertyMemberDeclarations/propertyNamedPrototype.ts

4 lines
77 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
class C {
prototype: number; // ok
static prototype: C; // error
}