From 777b329e9f5f78a015913cd5a8410c63eb3c51bb Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Mon, 10 Jan 2022 11:39:24 +0100 Subject: [PATCH] openvidu-browser: optional handler property in Session.off method --- openvidu-browser/src/OpenVidu/Session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvidu-browser/src/OpenVidu/Session.ts b/openvidu-browser/src/OpenVidu/Session.ts index 4517690d..124f1b4b 100644 --- a/openvidu-browser/src/OpenVidu/Session.ts +++ b/openvidu-browser/src/OpenVidu/Session.ts @@ -737,7 +737,7 @@ export class Session extends EventDispatcher { /** * See [[EventDispatcher.off]] */ - off(type: K, handler: (event: SessionEventMap[K]) => void): this { + off(type: K, handler?: (event: SessionEventMap[K]) => void): this { super.off(type, handler);