Skip to content

Commit 6cf57b1

Browse files
committed
fix comments
1 parent 3ede567 commit 6cf57b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/emitter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4228,7 +4228,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
42284228
shouldHoistVariable(node, /*checkIfSourceFileLevelDecl*/true);
42294229

42304230
if (isTopLevelDeclarationInSystemModule) {
4231-
// is system modules top level variables are hoisted
4231+
// in System modules top level variables are hoisted
4232+
// so variable declarations with destructuring are turned into destructuring assignments
42324233
write("(");
42334234
}
42344235

0 commit comments

Comments
 (0)