From 46e3ccd013ab2ddd4119ba3b35ec4d3596f639cf Mon Sep 17 00:00:00 2001 From: Gabriele Guidotti Date: Wed, 19 Feb 2025 12:32:27 +0100 Subject: [PATCH] Fixed OTSubscriberEventHandlers type for connected member --- @types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@types/index.d.ts b/@types/index.d.ts index d44db74c..9919e749 100644 --- a/@types/index.d.ts +++ b/@types/index.d.ts @@ -615,7 +615,7 @@ declare module "opentok-react-native" { /** * Sent when the subscriber successfully connects to the stream. */ - connected?: Callback; + connected?: CallbackWithParam; /** * Sent when the subscriber receives a caption for the stream.