mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
12 lines
223 B
TypeScript
12 lines
223 B
TypeScript
|
// @module: es2020
|
||
|
// @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);
|
||
|
}
|