mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
13 lines
199 B
TypeScript
13 lines
199 B
TypeScript
// @module: commonjs
|
|
// @Filename: foo_0.ts
|
|
export class C1 {
|
|
m1 = 42;
|
|
static s1 = true;
|
|
}
|
|
|
|
// @Filename: foo_1.ts
|
|
import foo = require("./foo_0");
|
|
if(foo.C1.s1){
|
|
// Should cause runtime import
|
|
}
|