You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The options object passed to a helper contains more information than in the type HelperOptions, specifically name, loc and lookupProperty. It's easy enough to add these to the type definition:
But the loc property isn't a full SourceLocation. It's missing the source: string property, which I hope will identify the filename of the current template. It would be fantastic to add that property so that a helperMissing helper can produce more useful output!
The text was updated successfully, but these errors were encountered:
The
options
object passed to a helper contains more information than in the typeHelperOptions
, specificallyname
,loc
andlookupProperty
. It's easy enough to add these to the type definition:But the
loc
property isn't a fullSourceLocation
. It's missing thesource: string
property, which I hope will identify the filename of the current template. It would be fantastic to add that property so that ahelperMissing
helper can produce more useful output!The text was updated successfully, but these errors were encountered: