/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; interface ErrorBoundaryProps { message?: React.ReactNode; description?: React.ReactNode; } export default class ErrorBoundary extends React.Component { state: { error: undefined; info: { componentStack: string; }; }; componentDidCatch(error: Error | null, info: object): void; render(): {} | null | undefined; } export {};