vue-tree-dnd
Version:
Sortable drag-n-drop tree structure for Vue3 with no dependencies
7 lines (6 loc) • 350 B
TypeScript
import type { TreeItem, FlatTreeItem } from './env';
export declare const getFlatTreeWithAncestors: (nodes: TreeItem[]) => FlatTreeItem[];
export declare function deepToRaw<T extends Record<string, any>>(sourceObj: T): T;
type ClampFunction = (value: number, min: number, max: number) => number;
export declare const clamp: ClampFunction;
export {};