Skip to content

Commit 19dc5ac

Browse files
authored
Update index.d.ts
1 parent b98e8bf commit 19dc5ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/integrations/preact/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { h, Component, VNode } from 'preact';
2-
declare function render(tree: Component, parent: HTMLElement): void;
1+
import { h, VNode } from 'preact';
2+
declare function render(tree: VNode, parent: HTMLElement): void;
33
declare const html: (strings: TemplateStringsArray, ...values: any[]) => VNode;
4-
export { h, html, render, Component };
4+
export { h, html, render };

0 commit comments

Comments
 (0)