TeaSpeak-Client/imports/shared-app/ui/react-elements/ErrorBoundary.d.ts
2021-02-20 18:55:36 +01:00

12 lines
377 B
TypeScript

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 {};