fix: traverse spread
This commit is contained in:
parent
45bb06002e
commit
3c562ca69a
|
@ -19,6 +19,7 @@ export const TRAVERSAL_PATH = {
|
||||||
Program: ['body'],
|
Program: ['body'],
|
||||||
Property: ['key', 'value'],
|
Property: ['key', 'value'],
|
||||||
ReturnStatement: ['argument'],
|
ReturnStatement: ['argument'],
|
||||||
|
SpreadElement: ['argument'],
|
||||||
UnaryExpression: ['argument'],
|
UnaryExpression: ['argument'],
|
||||||
UpdateExpression: ['argument'],
|
UpdateExpression: ['argument'],
|
||||||
VariableDeclaration: ['declarations'],
|
VariableDeclaration: ['declarations'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user