swc/crates/swc_ecma_parser/tests/tsc/importCallExpressionNestedES2020.ts
2022-02-04 17:08:38 +09:00

12 lines
223 B
TypeScript

// @module: es2020
// @target: es6
// @skipLibCheck: true
// @lib: es6
// @filename: foo.ts
export default "./foo";
// @filename: index.ts
async function foo() {
return await import((await import("./foo")).default);
}