fix(toolbar-search): fix types for on:clear

This commit is contained in:
metonym 2024-10-25 15:33:55 -07:00
commit 981587407d
4 changed files with 16 additions and 13 deletions

View file

@ -69,7 +69,7 @@ export interface ToolbarSearchProps extends RestProps {
export default class ToolbarSearch extends SvelteComponentTyped<
ToolbarSearchProps,
{
clear: WindowEventMap["clear"];
clear: CustomEvent<null>;
change: WindowEventMap["change"];
input: WindowEventMap["input"];
focus: WindowEventMap["focus"];