From d9fb2f64b618af2d50adae83b17d6d757b05600a Mon Sep 17 00:00:00 2001 From: Zachary Soare Date: Sun, 7 Jan 2024 09:35:52 -0600 Subject: [PATCH] chore(tests): add a test for noArgs in a namespace --- test/socket.io.test-d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/socket.io.test-d.ts b/test/socket.io.test-d.ts index 70f7d73ea1..d2d5a08204 100644 --- a/test/socket.io.test-d.ts +++ b/test/socket.io.test-d.ts @@ -442,6 +442,9 @@ describe("server", () => { expectType>( sio.emit<"noArgs"> ); + expectType>( + nio.emit<"noArgs"> + ); expectType>( // These errors will dissapear once the TS version is updated from 4.7.4 // the TSD instance is using a newer version of TS than the workspace version