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