We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50081c6 commit 1e65690Copy full SHA for 1e65690
src/operations/indexes.ts
@@ -204,7 +204,7 @@ function constructIndexDescriptionMap(indexSpec: IndexSpecification): Map<string
204
function resolveIndexDescription(
205
description: IndexDescription
206
): Omit<ResolvedIndexDescription, 'key'> {
207
- const validProvidedOptions = Object.entries({ ...description }).filter(([optionName]) =>
+ const validProvidedOptions = Object.entries(description).filter(([optionName]) =>
208
VALID_INDEX_OPTIONS.has(optionName)
209
);
210
0 commit comments