You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Examples for loading remote data shows the callback taking one and zero arguments. Typescript typings have defined TomLoadCallback to take two arguments : loadCallback(options: TomOption[], optgroups: TomOption[]): void;
Bug description
Examples for loading remote data shows the callback taking one and zero arguments. Typescript typings have defined TomLoadCallback to take two arguments :
loadCallback(options: TomOption[], optgroups: TomOption[]): void;
Expected behavior
Typings should treat all parameters as optional.
Steps to reproduce
Use the following code in TypeScript
This will show errors for the usage of callback.
Additional context
N/A
The text was updated successfully, but these errors were encountered: