diff --git a/packages/react/src/errorboundary.tsx b/packages/react/src/errorboundary.tsx index 3faef8207569..eedb34490227 100644 --- a/packages/react/src/errorboundary.tsx +++ b/packages/react/src/errorboundary.tsx @@ -4,8 +4,8 @@ import * as React from 'react'; export const UNKNOWN_COMPONENT = 'unknown'; -export type FallbackRender = (fallback: { - error: Error | null; +export type FallbackRender = (errorData: { + error: Error; componentStack: string | null; eventId: string | null; resetError(): void;