fix(typings): allow async listener in typed events
So that:
```ts
socket.on("my-event", async () => {
// ...
});
```
is valid under the @typescript-eslint/no-misused-promises rule.
Related: https://github.com/socketio/socket.io-client/issues/1486 D
Damien Arrachequesne committed
ccfd8caba6d38b7ba6c5114bd8179346ed07671c
Parent: 24fee27