diff --git a/packages/plugin-react/types/bugsnag-plugin-react.d.ts b/packages/plugin-react/types/bugsnag-plugin-react.d.ts index 4cd783ff31..e36f86fba1 100644 --- a/packages/plugin-react/types/bugsnag-plugin-react.d.ts +++ b/packages/plugin-react/types/bugsnag-plugin-react.d.ts @@ -1,8 +1,11 @@ import { Plugin, Client, OnErrorCallback } from '@bugsnag/core' import React from 'react' -declare class BugsnagPluginReact extends Plugin { - constructor(R?: typeof React) +// eslint-disable-next-line @typescript-eslint/no-empty-interface +interface BugsnagPluginReact extends Plugin { } +// eslint-disable-next-line @typescript-eslint/no-extraneous-class +declare class BugsnagPluginReact { + constructor(react?: typeof React) } type BugsnagErrorBoundary = React.ComponentType<{