16 lines
No EOL
545 B
Text
16 lines
No EOL
545 B
Text
tests/cases/compiler/staticPrototypeProperty.ts(2,11): error TS2300: Duplicate identifier 'prototype'.
|
|
tests/cases/compiler/staticPrototypeProperty.ts(6,11): error TS2300: Duplicate identifier 'prototype'.
|
|
|
|
|
|
==== tests/cases/compiler/staticPrototypeProperty.ts (2 errors) ====
|
|
class C {
|
|
static prototype() { }
|
|
~~~~~~~~~
|
|
!!! error TS2300: Duplicate identifier 'prototype'.
|
|
}
|
|
|
|
class C2 {
|
|
static prototype;
|
|
~~~~~~~~~
|
|
!!! error TS2300: Duplicate identifier 'prototype'.
|
|
} |