Skip to content

Commit 57ce361

Browse files
authored
Merge pull request #52 from preactjs/fix/hydration-parent-type
fix: Hydrate parent param type
2 parents 1834fd8 + 77631aa commit 57ce361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hydrate.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { hydrate } from 'preact';
1+
import { ComponentChild, ContainerNode } from 'preact';
22

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

0 commit comments

Comments
 (0)