mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
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