Skip to content

Commit

Permalink
fix: fix setCollections type
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Oct 29, 2020
1 parent aeebe6d commit cb967a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/autocomplete-core/src/getAutocompleteSetters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function getAutocompleteSetters<TItem>({
store.send('setQuery', value);
};

const setCollections: AutocompleteApi<TItem | TItem[]>['setCollections'] = (
const setCollections: AutocompleteApi<TItem>['setCollections'] = (
rawValue
) => {
let baseItemId = 0;
Expand Down

0 comments on commit cb967a4

Please sign in to comment.