mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
11 lines
222 B
TypeScript
11 lines
222 B
TypeScript
|
// @module: es2015
|
||
|
// @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);
|
||
|
}
|