Skip to content

Commit

Permalink
feat: allow annotations before the spread parameter ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Dec 20, 2024
1 parent 04a649d commit 0497c06
Show file tree
Hide file tree
Showing 5 changed files with 26,661 additions and 26,519 deletions.
1 change: 1 addition & 0 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,7 @@ module.exports = grammar({
optional($.modifiers),
$._unannotated_type,
'...',
repeat($._annotation),
$.variable_declarator,
),

Expand Down
7 changes: 7 additions & 0 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0497c06

Please sign in to comment.