From 5a0ef8ba0e252d2d1f4829f078eddc432dfe69f6 Mon Sep 17 00:00:00 2001 From: Kai Eichinger Date: Tue, 23 Oct 2018 17:16:56 +0200 Subject: [PATCH] Also only allow nested arrays for insidePolygon --- types/algoliasearch/index.d.ts | 2 +- types/algoliasearch/lite/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/algoliasearch/index.d.ts b/types/algoliasearch/index.d.ts index 0f292c1200..cd8c0bdf87 100644 --- a/types/algoliasearch/index.d.ts +++ b/types/algoliasearch/index.d.ts @@ -1319,7 +1319,7 @@ declare namespace algoliasearch { * defauly: '' * https://www.algolia.com/doc/api-reference/api-parameters/insidePolygon/ */ - insidePolygon?: Array; + insidePolygon?: number[][]; /** * This option is used to select a strategy in order to avoid having an empty result page * default: 'none' diff --git a/types/algoliasearch/lite/index.d.ts b/types/algoliasearch/lite/index.d.ts index 0109d5ce60..14da74a919 100644 --- a/types/algoliasearch/lite/index.d.ts +++ b/types/algoliasearch/lite/index.d.ts @@ -398,7 +398,7 @@ declare namespace algoliasearch { * defauly: '' * https://www.algolia.com/doc/api-reference/api-parameters/insidePolygon/ */ - insidePolygon?: Array; + insidePolygon?: number[][]; /** * This option is used to select a strategy in order to avoid having an empty result page * default: 'none'