Skip to content

Commit 81d998d

Browse files
authored
Merge pull request #144 from developit/types-preact-hooks
[ts] Re-export hooks from preact's types
2 parents 37a246d + 8fa3212 commit 81d998d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/integrations/preact/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { h, VNode, Component } from 'preact';
2+
export * from 'preact/hooks';
23
declare function render(tree: VNode, parent: HTMLElement): void;
34
declare const html: (strings: TemplateStringsArray, ...values: any[]) => VNode;
45
export { h, html, render, Component };

0 commit comments

Comments
 (0)