You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
382 B

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