TypeScript/tests/baselines/reference/reassignStaticProp.errors.txt

14 lines
265 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/reassignStaticProp.ts (1 errors) ====
class foo {
static bar = 1;
static bar:string; // errror - duplicate id
~~~
!!! Duplicate identifier 'bar'.
}