next
Version:
The React Framework
6 lines (5 loc) • 311 B
TypeScript
export declare function isHydrationError(error: unknown): boolean;
export declare function isHydrationWarning(message: unknown): message is string;
type NullableText = string | null | undefined;
export declare const getHydrationWarningType: (message: NullableText) => "tag" | "text" | "text-in-tag";
export {};