Replies: 1 comment 1 reply
-
You can pass the type here: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm submitting a...
Current behavior
Imagine I create a Directive like:
I test it, all good, but what if I want to update
foo
to see how it changes its behavior?I can't do:
Because
foo
doesn't exist inhostComponent
.I can certainly do:
Expected behavior
Is there a proper way to do this without casting? Or am I doing this all wrong?
Beta Was this translation helpful? Give feedback.
All reactions