From ba3cda54b6d9088a938339f9d4d585915fe9a7bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Tue, 9 Feb 2021 10:59:57 +0100 Subject: [PATCH] fix(js): use `AutocompletePlugin` type from JS --- packages/autocomplete-js/src/types/AutocompleteOptions.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/autocomplete-js/src/types/AutocompleteOptions.ts b/packages/autocomplete-js/src/types/AutocompleteOptions.ts index b5c9d53c7..9bff2ac8d 100644 --- a/packages/autocomplete-js/src/types/AutocompleteOptions.ts +++ b/packages/autocomplete-js/src/types/AutocompleteOptions.ts @@ -7,6 +7,7 @@ import { import { MaybePromise } from '@algolia/autocomplete-shared'; import { AutocompleteClassNames } from './AutocompleteClassNames'; +import { AutocompletePlugin } from './AutocompletePlugin'; import { AutocompletePropGetters } from './AutocompletePropGetters'; import { AutocompleteRender } from './AutocompleteRender'; import { AutocompleteRenderer } from './AutocompleteRenderer'; @@ -71,4 +72,5 @@ export interface AutocompleteOptions * Custom renderer. */ renderer?: AutocompleteRenderer; + plugins?: Array>; }