Skip to content

Commit 77631aa

Browse files
committed
fix: Hydrate parent param type
1 parent 1834fd8 commit 77631aa

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)