rittenhop-dev/versions/5.94.2/node_modules/standard-as-callback/built/utils.d.ts

10 lines
262 B
TypeScript
Raw Normal View History

2024-09-23 19:40:12 -04:00
import { CallbackFunction } from "./types";
export declare const errorObj: {
e: {};
};
declare function tryCatcher<T>(err: Error, val?: T): void | {
e: Error;
};
export declare function tryCatch<T>(fn: CallbackFunction<T>): typeof tryCatcher;
export {};