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
What we don't have is a syntax to do it inline, especially for use with export default.
ef4
changed the title
Allow component signatures on first-class, template-only components
Allow inline component signatures on first-class, template-only components
Aug 20, 2022
We could possibly generalize to allow arbitrary type expressions between those top-level curlies in the XML namespace position, but that seems like an unnecessary complexity initially: better to stick with just referencing an in-scope binding of the appropriate sort (here: a type).
Using the ember-template-imports glint environment, given:
both the caller and callee treat
@mesage
as a type error. I can manually provide the "outside" type to make the caller happy:But I can't find a way to provide the "inside" type to make the callee happy.
The text was updated successfully, but these errors were encountered: