Narrowing @namedArgs
does not work, but narrowing this.args.namedArgs
does work. (@X named args are not aliased to "this.args.X" internally)
#715
Labels
bug
Something isn't working
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 😅Here is a TSPlayground showing that what I want to do (and the
this.args
example) works in plain TS.The text was updated successfully, but these errors were encountered: