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 c8429ce commit 1ca3ad7Copy full SHA for 1ca3ad7
1 file changed
src/parser.ts
@@ -578,7 +578,7 @@ export class Parser extends DiagnosticEmitter {
578
return null;
579
}
580
581
- // '[' Type (',' Type)* ']'
+ // '[' ((Identifier ':')? Type (',' (Identifier ':')? Type)*)? ']'
582
} else if (token == Token.OpenBracket && this.options && this.options!.hasFeature(Feature.MultiValue)) {
583
let elements: TypeNode[] = [];
584
let elementNames: (IdentifierExpression | null)[] = [];
0 commit comments