From 8b46de4f292306cdacc3c0ca5da7800ae0f30f8d Mon Sep 17 00:00:00 2001 From: Ben Gourley Date: Mon, 10 Aug 2020 18:14:17 +0100 Subject: [PATCH] fix(plugin-react): Fix bad merge --- packages/plugin-react/types/bugsnag-plugin-react.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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<{