run yarn prepack

This commit is contained in:
Moritz Bischof 2021-05-03 21:26:36 +02:00
commit ee10776a7e
6 changed files with 137 additions and 27 deletions

View file

@ -1,8 +1,7 @@
/// <reference types="svelte" />
import { SvelteComponentTyped } from "svelte";
export interface ContextMenuProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["ul"]> {
export interface ContextMenuProps {
/**
* Set to `true` to open the menu
* Either `x` and `y` must be greater than zero
@ -26,16 +25,11 @@ export interface ContextMenuProps
* Obtain a reference to the unordered list HTML element
* @default null
*/
ref?: null | HTMLUListElement;
ref?: HTMLUListElement | null;
}
export default class ContextMenu extends SvelteComponentTyped<
ContextMenuProps,
{
click: WindowEventMap["click"];
keydown: WindowEventMap["keydown"];
open: CustomEvent<any>;
close: CustomEvent<any>;
},
{},
{ default: {} }
> {}