UNPKG

@knotx/viselect

Version:

[Forked] Simple, lightweight and modern library library for making visual DOM Selections.

8 lines (7 loc) 255 B
type AnyFunction = (...args: any[]) => void; export interface Frames<F extends AnyFunction = AnyFunction> { next(...args: Parameters<F>): void; cancel(): void; } export declare const frames: <F extends AnyFunction>(fn: F) => Frames<F>; export {};