Skip to content

Commit b0576b2

Browse files
Josh-Cenarbuckton
andauthored
Update src/compiler/transformers/module/module.ts
Co-authored-by: Ron Buckton <[email protected]>
1 parent a4463a3 commit b0576b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/compiler/transformers/module/module.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,8 +862,6 @@ namespace ts {
862862
/*parameters*/ [],
863863
/*type*/ undefined,
864864
factory.createBlock([factory.createReturnStatement(requireCall)]));
865-
// Note: because non-literal expressions are already evaluated
866-
// synchronously, we don't need to capture `this`.
867865
}
868866

869867
const downleveledImport = factory.createCallExpression(factory.createPropertyAccessExpression(promiseResolveCall, "then"), /*typeArguments*/ undefined, [func]);

0 commit comments

Comments
 (0)