Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit 92fcdf9

Browse files
committed
fix(Types): getFilterValue should be optional
Closes #125
1 parent 3a5352c commit 92fcdf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ declare module 'react-picky' {
379379
/**
380380
* Will provide the input value of filter to the picky dropdown, so that if we have a larger list of options then we can only supply the matching options based on this value.
381381
*/
382-
getFilterValue: (term: string) => any;
382+
getFilterValue?: (term: string) => any;
383383
/**
384384
* If true options will be returned when they match case, defaults to false
385385
*/

0 commit comments

Comments
 (0)