Files
Media-Coding-Web/node_modules/standard-as-callback/built/utils.d.ts
2026-04-04 12:49:09 +08:00

10 lines
262 B
TypeScript

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 {};