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

This commit is contained in:
metonym 2022-06-27 05:44:05 -07:00 committed by GitHub
commit 5a8bd9ca57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: {} }
> {}