Closed jaylinski closed 1 year ago
Yes, I think we can change the type to Record<string, any>
. The documentation says it's always an object:
https://handlebarsjs.com/guide/block-helpers.html#hash-arguments
If the template provides no hash arguments, Handlebars will automatically pass an empty object ({}), so you don't need to check for the existence of hash arguments.
Discussed in https://github.com/handlebars-lang/handlebars.js/discussions/2000