Skip to content

Commit

Permalink
Merge pull request #987 from bugsnag/bengourley/react-types-fix
Browse files Browse the repository at this point in the history
fix(plugin-react): Fix bad merge
  • Loading branch information
bengourley committed Aug 11, 2020
2 parents 819d792 + 8b46de4 commit 9a9389f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/plugin-react/types/bugsnag-plugin-react.d.ts
Original file line number Diff line number Diff line change
@@ -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<{
Expand Down

0 comments on commit 9a9389f

Please sign in to comment.