Skip to content

Commit

Permalink
Merge pull request #52 from preactjs/fix/hydration-parent-type
Browse files Browse the repository at this point in the history
fix: Hydrate parent param type
  • Loading branch information
JoviDeCroock authored Nov 20, 2024
2 parents 1834fd8 + 77631aa commit 57ce361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hydrate.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { hydrate } from 'preact';
import { ComponentChild, ContainerNode } from 'preact';

export default hydrate;
export default function hydrate(jsx: ComponentChild, parent?: ContainerNode): void;

0 comments on commit 57ce361

Please sign in to comment.