utils.d.ts 472 B

123456789
  1. export declare const chainPromises: <T>(promises: Promise<T>[], reducer?: (p1: Promise<T>, p2: Promise<T>) => Promise<T>, initialValue?: T) => Promise<T>;
  2. export declare const BigNumOps: {
  3. splitAt: (num: string, at: number) => number[];
  4. plus: (num1: string, num2: string) => string;
  5. compare: (num1: string, num2: string) => number;
  6. min: (...nums: string[]) => string;
  7. lShift: (num: string, by: number) => string;
  8. parse: (str: string) => string;
  9. };