From 55a909fe1ef892b3e76ddc109155336c77875292 Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Mon, 14 Jun 2021 17:53:10 +0200 Subject: [PATCH] fix(ts): correct required for getFacetValues --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index ff092a577..d982222e4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1353,8 +1353,8 @@ declare namespace algoliasearchHelper { getFacetValues( attribute: string, opts: { - sortBy: any; - facetOrdering: boolean; + sortBy?: any; + facetOrdering?: boolean; } ): SearchResults.FacetValue[] | SearchResults.HierarchicalFacet | undefined;