Passing js callbacks for generic action | Action<T> #915
Unanswered
FreakTheMighty
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to pass a callback into a method with a generic definition but can't figure out how.
In JS I have
Which results in this error:
Subscribe has a generic definition like this.
How does one go about exposing method like this? Thanks in advance for the advice.
Beta Was this translation helpful? Give feedback.
All reactions