Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Dec 5, 2024
1 parent 5a58e0f commit 2af8a8b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ export interface SubscriptionManagerConfig {
}
}

export class SubscriptionManager<
Handlers extends [...SubscriptionHandler<any>[]],
> {
export class SubscriptionManager<Handlers extends SubscriptionHandler<any>[]> {
private counter = 0
private socket: WebSocket | null = null
private subscriptions: SubscriptionInfo<DataSubscriber<any, any, any>>[] = []
Expand Down

0 comments on commit 2af8a8b

Please sign in to comment.