@tempots/dom

AnimateSignal type

Represents the configuration options for animating a signal.

Signature:

export type AnimateSignal = {
    initialValue?: T;
    interpolate?: (start: T, end: T, delta: number) => T;
    duration?: number;
    easing?: (t: number) => number;
    equals?: (a: T, b: T) => boolean;
};