Skip to content

Commit 106ff06

Browse files
committed
Add some comment
1 parent f941d92 commit 106ff06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42792,6 +42792,7 @@ namespace ts {
4279242792

4279342793
function checkGrammarImportCallArguments(node: ImportCall, nodeArguments: NodeArray<Expression>): boolean {
4279442794
if (moduleKind !== ModuleKind.ESNext) {
42795+
// We are allowed trailing comma after proposal-import-assertions.
4279542796
checkGrammarForDisallowedTrailingComma(nodeArguments);
4279642797

4279742798
if (nodeArguments.length > 1) {

0 commit comments

Comments
 (0)