Skip to content

Commit

Permalink
fix: 🐛 Add reportUnhandledPromiseRejectionsAsHandled config option …
Browse files Browse the repository at this point in the history
…to typescript definition
  • Loading branch information
gingerbenw committed Oct 23, 2024
1 parent 365d63c commit 462621f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [8.1.1] - 2024-10-23

### Fixed

- Add `reportUnhandledPromiseRejectionsAsHandled` config option to typescript definition [#2237](https://github.com/bugsnag/bugsnag-js/pull/2237)

## [8.1.0] - 2024-10-23

### Added
Expand Down
1 change: 1 addition & 0 deletions packages/core/types/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export interface Config {
releaseStage?: string
plugins?: Plugin[]
user?: User | null
reportUnhandledPromiseRejectionsAsHandled?: boolean
}

export type OnErrorCallback = (event: Event, cb: (err: null | Error, shouldSend?: boolean) => void) => void | boolean | Promise<void | boolean>
Expand Down

0 comments on commit 462621f

Please sign in to comment.