1 parent f9ca695 commit b98e8bfCopy full SHA for b98e8bf
1 file changed
src/integrations/preact/index.d.ts
@@ -1,9 +1,4 @@
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
-}
+import { h, Component, VNode } from 'preact';
+declare function render(tree: Component, parent: HTMLElement): void;
+declare const html: (strings: TemplateStringsArray, ...values: any[]) => VNode;
+export { h, html, render, Component };
0 commit comments