UNPKG

dnd-core

Version:

Drag and drop sans the GUI

8 lines (7 loc) 288 B
import type { Action } from '../interfaces.js'; export declare type State = string[]; export interface DirtyHandlerIdPayload { targetIds: string[]; prevTargetIds: string[]; } export declare function reduce(_state: State | undefined, action: Action<DirtyHandlerIdPayload>): State;