9af21eb00e
* Fix nested dynamic imports when targeting es6 * Fixup nested dynamic imports when targeting downlevel * Remove duplicated expressions in UMD emit * Code review feedback, clone arg if need be * More CR feedback, apply user quotemark styles * Remove blank lines * Use behavior of visitEachChild instead of enw codepath, add new test, use createLiteral to retain quotemarks * Set lib flag for test
11 lines
No EOL
234 B
TypeScript
11 lines
No EOL
234 B
TypeScript
// @module: commonjs
|
|
// @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);
|
|
} |