Skip to content

Commit 355de2b

Browse files
authored
Merge pull request #702 from povder/main
Fix filter callback return type
2 parents 734b7ff + 5be5b6c commit 355de2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type AllowNew =
2121
export type FilterByCallback = (
2222
option: Option,
2323
state: TypeaheadPropsAndState
24-
) => void;
24+
) => boolean;
2525

2626
export type Id = string;
2727

0 commit comments

Comments
 (0)