mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +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
|
|
}
|