TeaSpeak-Client/imports/shared-app/ui/react-elements/ErrorBoundary.d.ts

12 lines
377 B
TypeScript
Raw Normal View History

2021-02-20 12:55:36 -05:00
import * as React from "react";
interface ErrorBoundaryState {
errorOccurred: boolean;
}
export declare class ErrorBoundary extends React.Component<{}, ErrorBoundaryState> {
constructor(props: any);
render(): {};
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
static getDerivedStateFromError(): Partial<ErrorBoundaryState>;
}
export {};