Skip to content

Commit 6c73869

Browse files
authored
Merge pull request #4063 from Earlopain/types-array-pattern-rest
Fix type for `ArrayPatternNode#rest`
2 parents 4e207db + f871ce0 commit 6c73869

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,9 @@ nodes:
10171017
^ ^
10181018
- name: rest
10191019
type: node?
1020-
kind: pattern expression
1020+
kind:
1021+
- ImplicitRestNode
1022+
- SplatNode
10211023
comment: |
10221024
Represents the rest element of the array pattern.
10231025

0 commit comments

Comments
 (0)