6 lines
208 B
Plaintext
6 lines
208 B
Plaintext
export type UseErrorBoundaryApi<TError> = {
|
|
resetBoundary: () => void;
|
|
showBoundary: (error: TError) => void;
|
|
};
|
|
export declare function useErrorBoundary<TError = any>(): UseErrorBoundaryApi<TError>;
|