diff --git a/src/transmit.ts b/src/transmit.ts index 3678705..c768a5c 100644 --- a/src/transmit.ts +++ b/src/transmit.ts @@ -58,8 +58,10 @@ export class Transmit { /** * The secure channel store instance to store all the secure channel callbacks. */ - #secureChannelCallbacks: Map Promise> = - new Map() + #secureChannelCallbacks: Map< + string, + (ctx: HttpContext, params?: any) => Promise | boolean + > = new Map() /** * The transport provider to synchronize messages and subscriptions