How to properly type Variables bound to the context?
I read that I can set a variables with
c.set(...) and I also noticed there is a generic type for that. However, I can't get it to work why I customize the type.
I want to say that I have a variable myVar bound which is of type MyClass. How can I achieve that?4 Replies
I tried at, I will try again.
tried what?
welp, I did it now.
can't remember what I did before that