UNPKG

next

Version:

The React Framework

6 lines (5 loc) 255 B
export type ErrorHandler = (error: Error) => void; export declare const RuntimeErrorHandler: { hadRuntimeError: boolean; }; export declare function useErrorHandler(handleOnUnhandledError: ErrorHandler, handleOnUnhandledRejection: ErrorHandler): void;