Skip to content

Commit

Permalink
remove unnecessary spreading
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Mar 20, 2024
1 parent 50081c6 commit 1e65690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operations/indexes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function constructIndexDescriptionMap(indexSpec: IndexSpecification): Map<string
function resolveIndexDescription(
description: IndexDescription
): Omit<ResolvedIndexDescription, 'key'> {
const validProvidedOptions = Object.entries({ ...description }).filter(([optionName]) =>
const validProvidedOptions = Object.entries(description).filter(([optionName]) =>
VALID_INDEX_OPTIONS.has(optionName)
);

Expand Down

0 comments on commit 1e65690

Please sign in to comment.