From 7998e45db69c2120706520953c3b4d9f475b42f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Lesiecki?= Date: Fri, 21 Mar 2025 00:40:39 +0100 Subject: [PATCH] correct hydrateRoot return type --- compat/client.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/client.d.ts b/compat/client.d.ts index cdf7ee241e..e1beab9071 100644 --- a/compat/client.d.ts +++ b/compat/client.d.ts @@ -10,4 +10,4 @@ export function createRoot(container: preact.ContainerNode): { export function hydrateRoot( container: preact.ContainerNode, children: preact.ComponentChild -): typeof createRoot; +): ReturnType;