UNPKG

382 BTypeScriptView Raw
1export declare const pad: (number: string | number, length?: number) => string;
2export declare const int: (bool: boolean) => 1 | 0;
3export declare function debounce<F extends Function>(fn: F, wait: number): (this: any) => void;
4export declare const arrayify: <T>(obj: T | T[]) => T[];
5export declare type IncrementEvent = MouseEvent & {
6 delta: number;
7 type: "increment";
8};