fix: add alias for nested_identifiers from javascript grammar

This will keep query compatibility
pull/643/head
Amaan Qureshi 2023-07-12 08:53:57 +07:00
parent a232b3ac46
commit af492b7ac4
No known key found for this signature in database
GPG Key ID: E67890ADC4227273
1 changed files with 1 additions and 1 deletions

@ -237,7 +237,7 @@ module.exports = function defineGrammar(dialect) {
seq(
field('name', choice(
$.identifier,
$.nested_identifier
alias($.nested_identifier, $.member_expression),
)),
field('type_arguments', optional($.type_arguments))
)