mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-09 15:08:12 -05:00
chore(tests): indicate a future ts error with version
This commit is contained in:
committed by
Damien Arrachequesne
parent
cb6d2e02aa
commit
04640d68cf
@@ -285,7 +285,7 @@ describe("server", () => {
|
||||
sio.send(1, "2", [3]);
|
||||
// @ts-expect-error - ServerToClientEvents doesn't have a message event
|
||||
nio.send(1, "2", [3]);
|
||||
// This should likely be an error, but I don't know how to make it one
|
||||
// This correctly becomes an error in TS 5.3.2, so when updating typescript, this should expect-error
|
||||
sio.send();
|
||||
nio.send();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user