14 lines
265 B
Text
14 lines
265 B
Text
|
==== tests/cases/compiler/reassignStaticProp.ts (1 errors) ====
|
||
|
class foo {
|
||
|
|
||
|
static bar = 1;
|
||
|
|
||
|
static bar:string; // errror - duplicate id
|
||
|
~~~
|
||
|
!!! Duplicate identifier 'bar'.
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|