We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 812f03f commit 2b811dbCopy full SHA for 2b811db
src/transform-async-dependency.cts
@@ -81,10 +81,11 @@ export class TransformAsyncDependency
81
initFragments.push(
82
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
83
new InitFragment(
84
- `/* transform async */ var ${dep.#identifier} = ${exportExpr};\n`,
+ `/* ${dep.type} */ var ${dep.#identifier} = ${exportExpr};\n`,
85
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
86
InitFragment.STAGE_ASYNC_BOUNDARY,
87
- -1,
+ -1, // outside async function wrapper
88
+ `${dep.type} ${dep.request}`,
89
) as (typeof initFragments)[number],
90
);
91
}
0 commit comments