flatpickr
Version:
A lightweight, powerful javascript datetime picker
9 lines (8 loc) • 393 B
TypeScript
export declare const pad: (number: string | number) => string;
export declare const int: (bool: boolean) => 1 | 0;
export declare function debounce<F extends Function>(func: F, wait: number, immediate?: boolean): (this: Function) => void;
export declare const arrayify: <T>(obj: T | T[]) => T[];
export declare type IncrementEvent = MouseEvent & {
delta: number;
type: "increment";
};