Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
add error param to types for onBeforeNotify callback
Browse files Browse the repository at this point in the history
  • Loading branch information
danprince committed Oct 19, 2017
1 parent cd0d8ca commit 5c0e716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bugsnag.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ declare namespace bugsnag {
autoNotify(cb: () => void): any;
autoNotify(options: NotifyOptions, cb: () => void): any;
shouldNotify(): boolean;
onBeforeNotify(cb: (notification: any) => boolean | void): void;
onBeforeNotify(cb: (notification: any) => boolean | void, error?: Error): void;
}

interface ConfigurationOptions {
Expand Down

0 comments on commit 5c0e716

Please sign in to comment.