There is an error on the modifier call - Property '[NamedArgs]' is missing in type 'HTMLDivElement' but required in type 'NamedArgsMarker'. Making block a mandatory parameter (i.e. removing the ?) fixes the issue and then it works. But I don't want it mandatory. :smile: Also, using (modifier this.mod (hash block="nearest")) makes it compile fine but that has a different meaning at runtime so it's also not what I want.
There is an error on the
modifier
call -Property '[NamedArgs]' is missing in type 'HTMLDivElement' but required in type 'NamedArgsMarker'
. Makingblock
a mandatory parameter (i.e. removing the?
) fixes the issue and then it works. But I don't want it mandatory. :smile: Also, using(modifier this.mod (hash block="nearest"))
makes it compile fine but that has a different meaning at runtime so it's also not what I want.Somewhat similar to https://github.com/typed-ember/glint/issues/86 and https://github.com/typed-ember/glint/discussions/627.