bpms_site/.svn/pristine/e0/e03d02995e392eac5d13a0cbe6c9d26c8ad72893.svn-base
2025-11-02 16:38:49 +03:30

10 lines
506 B
Plaintext

export declare let hydrationErrorWarning: string | undefined;
export declare let hydrationErrorComponentStack: string | undefined;
/**
* Patch console.error to capture hydration errors.
* If any of the knownHydrationWarnings are logged, store the message and component stack.
* When the hydration runtime error is thrown, the message and component stack are added to the error.
* This results in a more helpful error message in the error overlay.
*/
export declare function patchConsoleError(): void;