mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
13 lines
440 B
TypeScript
13 lines
440 B
TypeScript
declare type Item = import("svelte-dnd-action").Item;
|
|
declare type DndEvent<ItemType = Item> =
|
|
import("svelte-dnd-action").DndEvent<ItemType>;
|
|
declare namespace svelteHTML {
|
|
interface HTMLAttributes<T> {
|
|
"on:consider"?: (
|
|
event: CustomEvent<DndEvent<ItemType>> & { target: EventTarget & T },
|
|
) => void;
|
|
"on:finalize"?: (
|
|
event: CustomEvent<DndEvent<ItemType>> & { target: EventTarget & T },
|
|
) => void;
|
|
}
|
|
}
|