mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
updated the typing for the creator args (#12365)
This commit is contained in:
committed by
Masahiro Wakame
parent
674de3e822
commit
830b43f05e
Vendored
+1
-1
@@ -368,7 +368,7 @@ declare namespace ReactSelectClass {
|
||||
/**
|
||||
* factory to create new options
|
||||
*/
|
||||
newOptionCreator?: (input: string) => Option;
|
||||
newOptionCreator?: (arg: { label: string, labelKey: string, valueKey: string }) => Option;
|
||||
|
||||
/**
|
||||
* Creates prompt/placeholder for option text.
|
||||
|
||||
Reference in New Issue
Block a user