mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
24 lines
224 B
TypeScript
24 lines
224 B
TypeScript
|
// none of these should work, since non are actually modules
|
||
|
|
||
|
var V = 12;
|
||
|
|
||
|
import v = V;
|
||
|
|
||
|
class C {
|
||
|
name: string;
|
||
|
}
|
||
|
|
||
|
import c = C;
|
||
|
|
||
|
enum E {
|
||
|
Red, Blue
|
||
|
}
|
||
|
|
||
|
import e = E;
|
||
|
|
||
|
interface I {
|
||
|
id: number;
|
||
|
}
|
||
|
|
||
|
import i = I;
|