Skip to content

Commit

Permalink
Merge 49aff5c into b93c40f
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jun 11, 2019
2 parents b93c40f + 49aff5c commit 7a6d2b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module "nice-try" {
export default function niceTry(f: Function): any;
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "nice-try",
"version": "2.0.0",
"version": "2.0.1",
"authors": [
"Tobias Reich <tobias@electerious.com>"
],
"description": "Tries to execute a function and discards any error that occurs",
"main": "src/index.js",
"types": "index.d.ts",
"keywords": [
"try",
"catch",
Expand Down

0 comments on commit 7a6d2b5

Please sign in to comment.