TypeScript/tests/baselines/reference/reassignStaticProp.errors.txt
2014-09-11 16:11:08 -07:00

14 lines
279 B
Plaintext

==== tests/cases/compiler/reassignStaticProp.ts (1 errors) ====
class foo {
static bar = 1;
static bar:string; // errror - duplicate id
~~~
!!! error TS2300: Duplicate identifier 'bar'.
}