1 | import { Client, BrowserConfig, BugsnagStatic } from '@bugsnag/browser'
|
2 | import { NodeConfig } from '@bugsnag/node'
|
3 |
|
4 | interface UniversalBugsnagStatic extends BugsnagStatic {
|
5 | start(apiKeyOrOpts: string | BrowserConfig | NodeConfig): Client
|
6 | createClient(apiKeyOrOpts: string | BrowserConfig | NodeConfig): Client
|
7 | }
|
8 |
|
9 | declare const Bugsnag: UniversalBugsnagStatic
|
10 |
|
11 | export default Bugsnag
|
12 | export * from '@bugsnag/browser'
|