Skip to content

Commit

Permalink
fix(js): use AutocompletePlugin type from JS
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Feb 9, 2021
1 parent a56c9d4 commit ba3cda5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/autocomplete-js/src/types/AutocompleteOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -71,4 +72,5 @@ export interface AutocompleteOptions<TItem extends BaseItem>
* Custom renderer.
*/
renderer?: AutocompleteRenderer;
plugins?: Array<AutocompletePlugin<TItem, unknown>>;
}

0 comments on commit ba3cda5

Please sign in to comment.