Skip to content

Commit

Permalink
dang typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
btkostner authored Feb 20, 2024
1 parent 9559049 commit 2676098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Handlebars.registerHelper("or", function (...params) {

for (const value of params) {
if (value) {
return options.fn(this);
return options.fn(this as any);
}
}

return options.inverse(this);
return options.inverse(this as any);
});

export default Handlebars;

0 comments on commit 2676098

Please sign in to comment.