2023-06-02 12:46:47 +03:00
|
|
|
declare type Item = import('svelte-dnd-action').Item;
|
2023-06-12 16:33:47 +03:00
|
|
|
declare type DndEvent<ItemType = Item> = import('svelte-dnd-action/typings').DndEvent<ItemType>;
|
2023-06-02 12:46:47 +03:00
|
|
|
declare namespace svelte.JSX {
|
2023-06-20 14:08:00 +03:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2023-06-02 12:46:47 +03:00
|
|
|
interface HTMLAttributes<T> {
|
|
|
|
onconsider?: (event: CustomEvent<DndEvent<ItemType>> & { target: EventTarget & T }) => void;
|
|
|
|
onfinalize?: (event: CustomEvent<DndEvent<ItemType>> & { target: EventTarget & T }) => void;
|
|
|
|
}
|
|
|
|
}
|