We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 046d18f commit f1950bfCopy full SHA for f1950bf
1 file changed
src/integrations/preact.d.ts
@@ -0,0 +1,9 @@
1
+declare module "htm/preact" {
2
+ import { h, Component, VNode } from 'preact';
3
+
4
+ function render(tree: Component, parent: HTMLElement): void;
5
6
+ const html: (strings: string[], values: any[]) => VNode;
7
8
+ export { h, html, render, Component };
9
+}
0 commit comments