Skip to content

Commit 04640d6

Browse files
ZachHaberdarrachequesne
authored andcommitted
chore(tests): indicate a future ts error with version
1 parent cb6d2e0 commit 04640d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/socket.io.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ describe("server", () => {
285285
sio.send(1, "2", [3]);
286286
// @ts-expect-error - ServerToClientEvents doesn't have a message event
287287
nio.send(1, "2", [3]);
288-
// This should likely be an error, but I don't know how to make it one
288+
// This correctly becomes an error in TS 5.3.2, so when updating typescript, this should expect-error
289289
sio.send();
290290
nio.send();
291291
});

0 commit comments

Comments
 (0)