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,