swc/crates/swc_ecma_parser/tests/tsc/importCallExpressionNestedUMD2.ts

11 lines
219 B
TypeScript
Raw Normal View History

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