utils.d.ts 520 B

123456789
  1. export declare const chainPromises: <T>(lazyPromises: ((p: T) => Promise<T>)[], reducer?: (lp1: (p: T) => Promise<T>, lp2: (p: T) => Promise<T>) => (p: 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. };