Closed Danielduel closed 2 years ago
Opening this PR to open discussion about this topic. If this change is welcome - I want to do very similar types for WebSocketClient/WebSocketAcceptedClient "on".
Ready for review, I've added (unplanned) typings for "emit" (it felt like low-hanging fruit)
// I would squash-merge it as "Improve typings for EventEmitter-related api", but it is optional
LGTM!
Opening this PR to open discussion about this topic. If this change is welcome - I want to do very similar types for WebSocketClient/WebSocketAcceptedClient "on".