16 lines
545 B
Plaintext
16 lines
545 B
Plaintext
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'.
|
|
} |