Skip to content

Commit

Permalink
🐛 Fix withHydrationBoundary type
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiner Pöpping committed Nov 13, 2024
1 parent 538854a commit 47c3323
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/withHydrationBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function withHydrationBoundary<P extends object, T, S, U>(
initializer: Initializer<U, T, S>,
useHydrationId: undefined,
useProps: (props: P) => U,
): HydrationBoundary<P & { id }>;
): HydrationBoundary<P & { id: string }>;

function withHydrationBoundary<P extends object, T, S, U>(
Component: HydrationComponent<P, T, S>,
Expand Down

0 comments on commit 47c3323

Please sign in to comment.