2 lines
64 B
TypeScript

export declare function tryCatch<T extends Function>(fn: T): T;