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 f941d92 commit 106ff06Copy full SHA for 106ff06
src/compiler/checker.ts
@@ -42792,6 +42792,7 @@ namespace ts {
42792
42793
function checkGrammarImportCallArguments(node: ImportCall, nodeArguments: NodeArray<Expression>): boolean {
42794
if (moduleKind !== ModuleKind.ESNext) {
42795
+ // We are allowed trailing comma after proposal-import-assertions.
42796
checkGrammarForDisallowedTrailingComma(nodeArguments);
42797
42798
if (nodeArguments.length > 1) {
0 commit comments