17 lines
No EOL
376 B
Text
17 lines
No EOL
376 B
Text
tests/cases/compiler/reassignStaticProp.ts(5,12): error TS2300: Duplicate identifier 'bar'.
|
|
|
|
|
|
==== tests/cases/compiler/reassignStaticProp.ts (1 errors) ====
|
|
class foo {
|
|
|
|
static bar = 1;
|
|
|
|
static bar:string; // errror - duplicate id
|
|
~~~
|
|
!!! error TS2300: Duplicate identifier 'bar'.
|
|
|
|
}
|
|
|
|
|
|
|
|
|