DefinitelyTyped/react-select
Moritz 8d7c3081e7 react-select: Fix definition of loadOptions-cb (#9549)
Adding the second parameter:
--
LoadOptions is called here with the value of the responseHandler-Variable:
https://github.com/JedWatson/react-select/blob/74e0f08/src/Async.js#L138

The implementation of that function is here:
https://github.com/JedWatson/react-select/blob/74e0f08/src/Async.js#L102

It's very obvious that this function needs two parameters.

The data-parameter:
--
See their readme.md file:
74e0f0867f (async-options)

The also matches the expected variables in the code.
2016-06-08 19:17:07 +09:00
..
react-select-0.9.10-tests.tsx update typings for React Select 1.0.0 2016-03-14 19:21:05 -07:00
react-select-0.9.10.d.ts update typings for React Select 1.0.0 2016-03-14 19:21:05 -07:00
react-select-tests.tsx Fix definition for custom components in react-select (#9516) 2016-06-03 00:39:45 +09:00
react-select.d.ts react-select: Fix definition of loadOptions-cb (#9549) 2016-06-08 19:17:07 +09:00