Skip to content

Commit

Permalink
fix(node-swc): Make Argument.spread optional (#1535)
Browse files Browse the repository at this point in the history
  • Loading branch information
wavesheep authored Apr 4, 2021
1 parent 0d79ca6 commit dcaea5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-swc/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ export interface ObjectExpression extends ExpressionBase {
}

export interface Argument {
spread: Span;
spread?: Span;
expression: Expression;
}

Expand Down

0 comments on commit dcaea5f

Please sign in to comment.