Installation
npm install --save @types/try-catch
Summary
This package contains type definitions for try-catch (https://github.com/coderaiser/try-catch).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/try-catch.
index.d.ts
declare function tryCatch(fn: (...args: any[]) => any, ...args: any[]): [error: Error, result?: any];
export = tryCatch;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Coderaiser.