chore(code-snippet): preserve custom copy event type

This commit is contained in:
Eric Liu 2022-06-27 05:40:28 -07:00
commit 13f73b16e7
4 changed files with 5 additions and 8 deletions

View file

@ -122,12 +122,12 @@ export default class CodeSnippet extends SvelteComponentTyped<
{
expand: CustomEvent<null>;
collapse: CustomEvent<null>;
copy: CustomEvent<null>;
click: WindowEventMap["click"];
mouseover: WindowEventMap["mouseover"];
mouseenter: WindowEventMap["mouseenter"];
mouseleave: WindowEventMap["mouseleave"];
animationend: WindowEventMap["animationend"];
copy: CustomEvent<null>;
},
{ default: {} }
> {}