diff --git a/packages/autocomplete-js/src/types/index.ts b/packages/autocomplete-js/src/types/index.ts index bdcf6d6f4..bc3fa4483 100644 --- a/packages/autocomplete-js/src/types/index.ts +++ b/packages/autocomplete-js/src/types/index.ts @@ -62,7 +62,7 @@ export interface AutocompleteOptions * You can either pass a [CSS selector](https://developer.mozilla.org/docs/Web/CSS/CSS_Selectors) or an [Element](https://developer.mozilla.org/docs/Web/API/HTMLElement). The first element matching the provided selector will be used as container. */ container: string | HTMLElement; - getSources: GetSources; + getSources?: GetSources; /** * The panel horizontal position. *