From 2e32715d36cde1dec00e7b5c662c7bce7ea28e2f Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sun, 7 May 2023 23:42:51 +0200 Subject: [PATCH] fix typescript error TS1015 --- packages/foundkey-js/src/streaming.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/foundkey-js/src/streaming.ts b/packages/foundkey-js/src/streaming.ts index 8f397f720..4a2ca58e6 100644 --- a/packages/foundkey-js/src/streaming.ts +++ b/packages/foundkey-js/src/streaming.ts @@ -32,7 +32,7 @@ export default class Stream extends EventEmitter { private nonSharedConnections: NonSharedConnection[] = []; private idCounter = 0; - constructor(origin: string, user: { token: string; } | null, options?: { + constructor(origin: string, user: { token: string; } | null, options: { WebSocket?: any; } = {}) { super();