mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
8 lines
171 B
TypeScript
8 lines
171 B
TypeScript
|
module M {
|
||
|
export interface Point { x: number; y: number }
|
||
|
}
|
||
|
|
||
|
var m = M; // Error, not instantiated can not be used as var
|
||
|
|
||
|
var x: typeof M; // Error only a namespace
|