mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
fix(multi-select): type dispatched select event
This commit is contained in:
parent
dc678e9904
commit
df63254c79
5 changed files with 24 additions and 10 deletions
6
types/MultiSelect/MultiSelect.d.ts
vendored
6
types/MultiSelect/MultiSelect.d.ts
vendored
|
@ -179,11 +179,15 @@ export interface MultiSelectProps
|
|||
export default class MultiSelect extends SvelteComponentTyped<
|
||||
MultiSelectProps,
|
||||
{
|
||||
select: CustomEvent<{
|
||||
selectedIds: string[];
|
||||
selected: MultiSelectItem[];
|
||||
unselected: MultiSelectItem[];
|
||||
}>;
|
||||
clear: WindowEventMap["clear"];
|
||||
keydown: WindowEventMap["keydown"];
|
||||
focus: WindowEventMap["focus"];
|
||||
blur: WindowEventMap["blur"];
|
||||
select: CustomEvent<any>;
|
||||
},
|
||||
{}
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue