Skip to content

Commit

Permalink
Fix hydrate parent definition
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-cz committed Feb 23, 2021
1 parent 550af42 commit e8cd0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preact-iso/hydrate.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { ComponentChild, VNode } from 'preact';

export default function hydrate(jsx: ComponentChild, parent?: VNode): void;
export default function hydrate(jsx: ComponentChild, parent?: Element | Document | ShadowRoot | DocumentFragment): void;

0 comments on commit e8cd0a8

Please sign in to comment.