these should be equiv, but @namedArg syntax should be all that folks use, as it's consistent cross-component authoring format. this.args in templates is discouraged and Glint should not encourage it :sweat_smile:
Here is a TSPlayground showing that what I want to do (and the this.args example) works in plain TS.
This correctly narrows:
This does not:
these should be equiv, but
@namedArg
syntax should be all that folks use, as it's consistent cross-component authoring format.this.args
in templates is discouraged and Glint should not encourage it :sweat_smile:Here is a TSPlayground showing that what I want to do (and the
this.args
example) works in plain TS.