12 lines
305 B
Text
12 lines
305 B
Text
|
==== tests/cases/compiler/staticPrototypeProperty.ts (2 errors) ====
|
||
|
class C {
|
||
|
static prototype() { }
|
||
|
~~~~~~~~~
|
||
|
!!! Duplicate identifier 'prototype'.
|
||
|
}
|
||
|
|
||
|
class C2 {
|
||
|
static prototype;
|
||
|
~~~~~~~~~
|
||
|
!!! Duplicate identifier 'prototype'.
|
||
|
}
|