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;