Also only allow nested arrays for insidePolygon

This commit is contained in:
Kai Eichinger
2018-10-30 09:46:46 +01:00
parent 66e975affa
commit 5a0ef8ba0e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1319,7 +1319,7 @@ declare namespace algoliasearch {
* defauly: ''
* https://www.algolia.com/doc/api-reference/api-parameters/insidePolygon/
*/
insidePolygon?: Array<number|number[]>;
insidePolygon?: number[][];
/**
* This option is used to select a strategy in order to avoid having an empty result page
* default: 'none'
+1 -1
View File
@@ -398,7 +398,7 @@ declare namespace algoliasearch {
* defauly: ''
* https://www.algolia.com/doc/api-reference/api-parameters/insidePolygon/
*/
insidePolygon?: Array<number|number[]>;
insidePolygon?: number[][];
/**
* This option is used to select a strategy in order to avoid having an empty result page
* default: 'none'