-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(expo-types): Ensure expo types are bundled and tested with lates…
…t core types
- Loading branch information
1 parent
4a1c53f
commit d68409c
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { Bugsnag } from "../../.."; | ||
let bugsnagInstance: Bugsnag.Client | undefined = undefined; | ||
export function notify(error: Bugsnag.NotifiableError, opts?: Bugsnag.INotifyOpts): boolean { | ||
export function notify(error: Bugsnag.NotifiableError, opts?: Bugsnag.INotifyOpts): void { | ||
if (bugsnagInstance === undefined) { | ||
return false | ||
return | ||
} | ||
return bugsnagInstance.notify(error, opts) | ||
} |