From 2af8a8b62dc067e617117b42a4d21edb3dd13806 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Wed, 4 Dec 2024 16:32:48 -0800 Subject: [PATCH] Fix type --- packages/transport-http/src/subscribe/subscription-manager.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/transport-http/src/subscribe/subscription-manager.ts b/packages/transport-http/src/subscribe/subscription-manager.ts index 2c5000312..bc119abce 100644 --- a/packages/transport-http/src/subscribe/subscription-manager.ts +++ b/packages/transport-http/src/subscribe/subscription-manager.ts @@ -60,9 +60,7 @@ export interface SubscriptionManagerConfig { } } -export class SubscriptionManager< - Handlers extends [...SubscriptionHandler[]], -> { +export class SubscriptionManager[]> { private counter = 0 private socket: WebSocket | null = null private subscriptions: SubscriptionInfo>[] = []