Skip to content

Commit

Permalink
Merge pull request #153 from yhatt/fix-type
Browse files Browse the repository at this point in the history
Fix typing: export the identified w/ declared type
  • Loading branch information
jviide authored Feb 4, 2020
2 parents 7810bd4 + 5e00c20 commit 46852ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default {
declare const htm: {
bind<HResult>(
h: (type: any, props: Record<string, any>, ...children: any[]) => HResult
): (strings: TemplateStringsArray, ...values: any[]) => HResult | HResult[];
};
export default htm;

0 comments on commit 46852ce

Please sign in to comment.