mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 23:02:31 +03:00
9 lines
400 B
TypeScript
9 lines
400 B
TypeScript
|
declare type Item = import('svelte-dnd-action').Item;
|
||
|
declare type DndEvent<ItemType = Item> = import('svelte-dnd-action').DndEvent<ItemType>;
|
||
|
declare namespace svelte.JSX {
|
||
|
interface HTMLAttributes<T> {
|
||
|
onconsider?: (event: CustomEvent<DndEvent<ItemType>> & { target: EventTarget & T }) => void;
|
||
|
onfinalize?: (event: CustomEvent<DndEvent<ItemType>> & { target: EventTarget & T }) => void;
|
||
|
}
|
||
|
}
|