fix typescript error TS1015

This commit is contained in:
Johann150 2023-05-07 23:42:51 +02:00
parent 5a4e300552
commit 2e32715d36
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -32,7 +32,7 @@ export default class Stream extends EventEmitter<StreamEvents> {
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();