mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 07:20:23 +00:00
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: https://github.com/JedWatson/react-select/tree/74e0f0867f1a2338070a07bcfc0bb452fa80dbc4#async-options The also matches the expected variables in the code.