errorUtil.d.ts 288 B

123456789
  1. export declare namespace errorUtil {
  2. type ErrMessage = string | {
  3. message?: string;
  4. };
  5. const errToObj: (message?: ErrMessage | undefined) => {
  6. message?: string | undefined;
  7. };
  8. const toString: (message?: ErrMessage | undefined) => string | undefined;
  9. }