mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +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;
|