lingjing/node_modules/next/dist/next-devtools/shared/react-18-hydration-error.d.ts
2026-02-23 09:51:43 +00:00

6 lines
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 {};