TypeScript/tests/cases/compiler/reassignStaticProp.ts

11 lines
103 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
class foo {
static bar = 1;
static bar:string; // errror - duplicate id
}