fix(multi-select): type clear as a custom event

This commit is contained in:
Eric Y Liu 2021-03-19 06:47:50 -07:00
commit 4c8c9be28e
4 changed files with 11 additions and 10 deletions

View file

@ -184,7 +184,7 @@ export default class MultiSelect extends SvelteComponentTyped<
selected: MultiSelectItem[];
unselected: MultiSelectItem[];
}>;
clear: WindowEventMap["clear"];
clear: CustomEvent<any>;
keydown: WindowEventMap["keydown"];
focus: WindowEventMap["focus"];
blur: WindowEventMap["blur"];