Skip to content

Commit 7c57728

Browse files
committed
fix hydrate type
1 parent e0e60c9 commit 7c57728

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hydrate.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ export async function hydrate(
1919
{
2020
onRecoverableError = () => void 8,
2121
...options
22-
}: Omit<React.PropsWithoutRef<typeof RouterHost>, "children" | "Shell"> & {
22+
}: Omit<
23+
React.ComponentPropsWithoutRef<typeof RouterHost>,
24+
"Shell" | "children"
25+
> & {
2326
onRecoverableError?: (error: unknown, errorInfo: ErrorInfo) => void;
2427
} = {}
2528
) {

0 commit comments

Comments
 (0)