From 1e65690fce32fde9d3d41369cad75e00348bb64f Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Wed, 20 Mar 2024 10:31:03 -0600 Subject: [PATCH] remove unnecessary spreading --- src/operations/indexes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operations/indexes.ts b/src/operations/indexes.ts index ce9a6b66258..1259bff31b2 100644 --- a/src/operations/indexes.ts +++ b/src/operations/indexes.ts @@ -204,7 +204,7 @@ function constructIndexDescriptionMap(indexSpec: IndexSpecification): Map { - const validProvidedOptions = Object.entries({ ...description }).filter(([optionName]) => + const validProvidedOptions = Object.entries(description).filter(([optionName]) => VALID_INDEX_OPTIONS.has(optionName) );