diff --git a/test/socket.io.test-d.ts b/test/socket.io.test-d.ts index 6d91617f..70f7d73e 100644 --- a/test/socket.io.test-d.ts +++ b/test/socket.io.test-d.ts @@ -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(); });