From 04640d68cfd0469c04ecce63b86801625402c691 Mon Sep 17 00:00:00 2001 From: Zachary Soare Date: Fri, 5 Jan 2024 11:35:15 -0600 Subject: [PATCH] chore(tests): indicate a future ts error with version --- test/socket.io.test-d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/socket.io.test-d.ts b/test/socket.io.test-d.ts index 6d91617ff2..70f7d73ea1 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(); });