Skip to content

Commit

Permalink
Fix matchSuggestion Type
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Dec 19, 2019
1 parent 66e3eeb commit 99af577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-core/src/form/useSuggestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ interface Options extends UseChoicesOptions {
emptyText?: string;
emptyValue?: any;
limitChoicesToValue?: boolean;
matchSuggestion?: (filter: string) => (suggestion: any) => boolean;
matchSuggestion?: (filter: string, suggestion: any) => boolean;
suggestionLimit?: number;
selectedItem?: any | any[];
}
Expand Down

0 comments on commit 99af577

Please sign in to comment.