From 0f64915303661b1f3c47c8dc1b030c255fda800e Mon Sep 17 00:00:00 2001 From: Abhishek Mishra <104294494+itsmeabhishek03@users.noreply.github.com> Date: Fri, 17 Jan 2025 16:04:22 +0530 Subject: [PATCH] Fix type error (#3507) --- npm/janus.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/janus.d.ts b/npm/janus.d.ts index 459cbd940c..b1957ea485 100644 --- a/npm/janus.d.ts +++ b/npm/janus.d.ts @@ -36,7 +36,7 @@ declare namespace JanusJS { init: () => void; } - type GetScreenCallback = (error?, sourceId?) => void + type GetScreenCallback = (error:string, sourceId:string) => void type HttpApiCallOption = { async: boolean,