Skip to content

Commit 1e65690

Browse files
remove unnecessary spreading
1 parent 50081c6 commit 1e65690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/operations/indexes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function constructIndexDescriptionMap(indexSpec: IndexSpecification): Map<string
204204
function resolveIndexDescription(
205205
description: IndexDescription
206206
): Omit<ResolvedIndexDescription, 'key'> {
207-
const validProvidedOptions = Object.entries({ ...description }).filter(([optionName]) =>
207+
const validProvidedOptions = Object.entries(description).filter(([optionName]) =>
208208
VALID_INDEX_OPTIONS.has(optionName)
209209
);
210210

0 commit comments

Comments
 (0)