mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(combo-box): fix types for on:clear
(#2020)
This commit is contained in:
parent
49b5def815
commit
0831e87135
5 changed files with 11 additions and 3 deletions
2
types/ComboBox/ComboBox.svelte.d.ts
vendored
2
types/ComboBox/ComboBox.svelte.d.ts
vendored
|
@ -164,12 +164,12 @@ export default class ComboBox extends SvelteComponentTyped<
|
|||
selectedId: ComboBoxItemId;
|
||||
selectedItem: ComboBoxItem;
|
||||
}>;
|
||||
clear: CustomEvent<KeyboardEvent | MouseEvent>;
|
||||
keydown: WindowEventMap["keydown"];
|
||||
keyup: WindowEventMap["keyup"];
|
||||
focus: WindowEventMap["focus"];
|
||||
blur: WindowEventMap["blur"];
|
||||
paste: DocumentAndElementEventHandlersEventMap["paste"];
|
||||
clear: WindowEventMap["clear"];
|
||||
scroll: WindowEventMap["scroll"];
|
||||
},
|
||||
{ default: { item: ComboBoxItem; index: number }; titleText: {} }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue