4 lines
259 B
TypeScript
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 };
|