This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/next-devtools/shared/react-19-hydration-error.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

10 lines
503 B
TypeScript

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;
};