mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
16 lines
261 B
TypeScript
16 lines
261 B
TypeScript
|
|
interface C1 {}
|
|
declare class C1 {}
|
|
module C1 {}
|
|
|
|
declare class C2 {}
|
|
interface C2 {}
|
|
module C2 {}
|
|
|
|
declare class C3 {}
|
|
module C3 {}
|
|
interface C3 {}
|
|
|
|
module C4 {}
|
|
declare class C4 {} // error -- class declaration must precede module declaration
|
|
interface C4 {} |