From 6007fb578396a1cbffc7cf2b48980e868407a9ce Mon Sep 17 00:00:00 2001 From: net-tech- Date: Sat, 27 Jan 2024 15:35:47 +0100 Subject: [PATCH] feat: export the events type --- src/Client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.ts b/src/Client.ts index 9af66609..96033ce5 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -39,7 +39,7 @@ export type Session = { _id: string; token: string; user_id: string } | string; /** * Events provided by the client */ -type Events = { +export type Events = { error(error: Error): void; connected(): void;