This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
@@ -0,0 +1,9 @@
export declare const REACT_HYDRATION_ERROR_LINK = "https://react.dev/link/hydration-mismatch";
export declare const NEXTJS_HYDRATION_ERROR_LINK = "https://nextjs.org/docs/messages/react-hydration-error";
export declare function isHydrationError(error: Error): boolean;
export declare function isErrorMessageWithComponentStackDiff(msg: string): boolean;
export declare function getHydrationErrorStackInfo(error: Error): {
message: string | null;
notes: string | null;
diff: string | null;
};