utils.d.ts 234 B

1234567
  1. import { CallbackFunction } from './types';
  2. export declare const errorObj: {
  3. e: {};
  4. };
  5. declare function tryCatcher(err: Error, val?: any): any;
  6. export declare function tryCatch(fn: CallbackFunction): typeof tryCatcher;
  7. export {};