7 lines
265 B
Text
7 lines
265 B
Text
|
==== tests/cases/conformance/classes/propertyMemberDeclarations/propertyNamedPrototype.ts (1 errors) ====
|
||
|
class C {
|
||
|
prototype: number; // ok
|
||
|
static prototype: C; // error
|
||
|
~~~~~~~~~
|
||
|
!!! Duplicate identifier 'prototype'.
|
||
|
}
|