Skip to content

Commit 5e00c20

Browse files
committed
Fix typing: export the identified w/ declared type
1 parent 7810bd4 commit 5e00c20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
export default {
1+
declare const htm: {
22
bind<HResult>(
33
h: (type: any, props: Record<string, any>, ...children: any[]) => HResult
44
): (strings: TemplateStringsArray, ...values: any[]) => HResult | HResult[];
55
};
6+
export default htm;

0 commit comments

Comments
 (0)