@types/try-catch
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/try-catch

Weekly Downloads

160

Version

3.0.2

License

MIT

Unpacked Size

2.78 kB

Total Files

5

Last publish

Collaborators

  • types