Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.1.0
-
None
-
1
Description
Here is definition of `searchQuery` method
As you see id accept facets and sort. it is wrong typings because facets accept something like this:
```
facets: {
"countryFacet":
,
"cityFacet":
{ field: "city", size: 10 },
....
}
```
Also, the `sort` field accepts an array of objects, but as we see according to typings it is just one object