next
Version:
The React Framework
10 lines (9 loc) • 374 B
TypeScript
export declare const getDefaultHydrationErrorMessage: () => string;
export declare function isHydrationError(error: unknown): boolean;
export declare function isReactHydrationErrorMessage(msg: string): boolean;
export declare function getHydrationErrorStackInfo(rawMessage: string): {
message: string | null;
link?: string;
stack?: string;
diff?: string;
};