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
Unlike EE3, the generic for the EventEmitter type here only seems to take event names, and not the argument types, allowing for potential errors in a TypeScript setting.
Is there any reason for that I'm missing?
The text was updated successfully, but these errors were encountered:
Such a feature was planned back in the days, but since we currently do not have an active project that uses this library we never got around to implement it (there are still some code remnants from the base library we originally based this one on actually). If we find the time to return to this library again in the future its the number one priority.
If you want to take a shot at it, we're always happy to accept PRs too! :)
Unlike EE3, the generic for the EventEmitter type here only seems to take event names, and not the argument types, allowing for potential errors in a TypeScript setting.
Is there any reason for that I'm missing?
The text was updated successfully, but these errors were encountered: