TypeScript/tests/baselines/reference/propertyNamedPrototype.errors.txt
2014-09-12 13:35:07 -07:00

10 lines
424 B
Plaintext

tests/cases/conformance/classes/propertyMemberDeclarations/propertyNamedPrototype.ts(3,12): error TS2300: Duplicate identifier 'prototype'.
==== tests/cases/conformance/classes/propertyMemberDeclarations/propertyNamedPrototype.ts (1 errors) ====
class C {
prototype: number; // ok
static prototype: C; // error
~~~~~~~~~
!!! error TS2300: Duplicate identifier 'prototype'.
}