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
Upon checking renderGroup in Autocomplete component, the key prop is of type string, also has an implicit conversion to string to be safe.
Actual type of params.key is number despite of Typescript shows that the type is string. params.key should be a string. Or type should be changed to number.
Steps to reproduce
Steps:
params
inrenderGroup
in Autocompletekey
(it'snumber
)key
with the type inAutocompleteRenderGroupParams
(it'sstring
)Current behavior
export interface AutocompleteRenderGroupParams {
key: string;
group: string;
children?: React.ReactNode;
}
Expected behavior
export interface AutocompleteRenderGroupParams {
key: number; ←←←
group: string;
children?: React.ReactNode;
}
Context
No response
Your environment
No response
Search keywords: Autocomplete AutocompleteRenderGroupParams
Search keywords:
The text was updated successfully, but these errors were encountered: