Skip to content

Commit

Permalink
making errorHandler optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jkyberneees committed May 21, 2019
1 parent 79d7779 commit 2cb26bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ declare namespace restana {
maxParamLength?: number
defaultRoute?: RequestHandler<P>
disableResponseEvent?: boolean
errorHandler: ErrorHandler<P>
errorHandler?: ErrorHandler<P>
}

interface Service<P extends Protocol> {
Expand Down

0 comments on commit 2cb26bf

Please sign in to comment.