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