Skip to content

Commit

Permalink
fix(js): make getSources optional
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Nov 10, 2020
1 parent 992557c commit b12cc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/autocomplete-js/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface AutocompleteOptions<TItem>
* 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<TItem>;
getSources?: GetSources<TItem>;
/**
* The panel horizontal position.
*
Expand Down

0 comments on commit b12cc26

Please sign in to comment.