Skip to content

Commit

Permalink
Merge pull request #69 from jukart/master
Browse files Browse the repository at this point in the history
fix type definition of template.key method
  • Loading branch information
justin-schroeder authored Feb 21, 2024
2 parents 25df04b + b0bde30 commit 72f84be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface ArrowTemplate {
* @param key - A unique key that identifies this template instance (not index).
* @returns
*/
key: (key: ArrowTemplateKey) => void
key: (key: ArrowTemplateKey) => ArrowTemplate
/**
* Returns internal properties of the template, specifically the HTML and
* expressions, as well as the key if applicable.
Expand Down

0 comments on commit 72f84be

Please sign in to comment.