You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to run typescript compiler on documented example code.
Bugsnag.start({apiKey: '',})
produces error because of missing type defintions from bugsnag core.
Object literal may only specify known properties, and 'apiKey' does not exist in type 'WorkerConfig'.
Environment
Bugsnag version: 7.25.0
Example code snippet
See example code above.
The text was updated successfully, but these errors were encountered:
subdavis
changed the title
web-worker typescript type definitions are all wrong.
web-worker does not declare @bugsnag/core as a dependency.
Jul 24, 2024
subdavis
changed the title
web-worker does not declare @bugsnag/core as a dependency.
Documentation bug: web-worker does not declare @bugsnag/core as a dependency.
Jul 24, 2024
Describe the bug
According to this documentation, Bugsnag web worker can be used standalone, but it requires install of
@bugsnag/core
as well.https://docs.bugsnag.com/platforms/javascript/web-workers/
Steps to reproduce
Attempt to run typescript compiler on documented example code.
produces error because of missing type defintions from bugsnag core.
Environment
7.25.0
Example code snippet
See example code above.
The text was updated successfully, but these errors were encountered: