Files
2025-03-31 04:45:14 -07:00

4 lines
259 B
TypeScript

declare const attemptifyAsync: <FN extends Function>(fn: FN, onError: (error: unknown) => undefined) => FN;
declare const attemptifySync: <FN extends Function>(fn: FN, onError: (error: unknown) => undefined) => FN;
export { attemptifyAsync, attemptifySync };