Skip to content

Commit

Permalink
chore(tests): indicate a future ts error with version
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachHaber authored and darrachequesne committed Jan 8, 2024
1 parent cb6d2e0 commit 04640d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/socket.io.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 04640d6

Please sign in to comment.