Skip to content

Commit

Permalink
refactor: remove unnecessary spread operator
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Jun 14, 2023
1 parent 59b4172 commit 38ffe97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webidl2.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function parseByTokens(tokeniser, options) {
Enum.parse(tokeniser) ||
Typedef.parse(tokeniser) ||
Includes.parse(tokeniser) ||
Namespace.parse(tokeniser, { ...options?.extensions?.namespace })
Namespace.parse(tokeniser, options?.extensions?.namespace)
);
}

Expand Down

0 comments on commit 38ffe97

Please sign in to comment.