fix(selectable-tile): include dispatched events in types (#1695)

Fixes #1694
This commit is contained in:
metonym 2023-03-20 18:27:29 -07:00 committed by GitHub
commit ca40dd18c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 7 deletions

View file

@ -67,6 +67,8 @@ export interface SelectableTileProps
export default class SelectableTile extends SvelteComponentTyped<
SelectableTileProps,
{
select: CustomEvent<string>;
deselect: CustomEvent<string>;
click: WindowEventMap["click"];
mouseover: WindowEventMap["mouseover"];
mouseenter: WindowEventMap["mouseenter"];