10 lines
424 B
Plaintext
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'.
|
|
} |