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
Documentation.md mentions a getEventBus() method on connect.core but index.d.ts does not declare one. May one be added please so that consumers using TypeScript don't need to cast connect.core in order to access the method?
My current workaround (although I'm not confident I've structured the types completely or not):
I created a Pull request(Issue) in the past, but it was not reviewed.
It is likely that it will not be officially implemented for a while, so the only way to work around it is to use a Type Assertion like the one you wrote.
Documentation.md mentions a
getEventBus()
method onconnect.core
but index.d.ts does not declare one. May one be added please so that consumers using TypeScript don't need to castconnect.core
in order to access the method?My current workaround (although I'm not confident I've structured the types completely or not):
The text was updated successfully, but these errors were encountered: