7 lines
153 B
TypeScript
7 lines
153 B
TypeScript
|
//// class then var
|
||
|
class c1 { public foo() { } }
|
||
|
var c1 = 1; // error
|
||
|
|
||
|
//// class then enum
|
||
|
class c4 { public foo() { } }
|
||
|
enum c4 { One } // error
|