Skip to content

Commit 46852ce

Browse files
authored
Merge pull request #153 from yhatt/fix-type
Fix typing: export the identified w/ declared type
2 parents 7810bd4 + 5e00c20 commit 46852ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.d.ts

+2-1
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)