10 lines
No EOL
424 B
Text
10 lines
No EOL
424 B
Text
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'.
|
|
} |