Open mfulton26 opened 1 month ago
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):