diff --git a/lib/ICEInfo.js b/lib/ICEInfo.js index ffa1e8c..9ab4b6b 100644 --- a/lib/ICEInfo.js +++ b/lib/ICEInfo.js @@ -105,6 +105,7 @@ class ICEInfo ICEInfo.generate = function(lite) { //Create ICE info for media + //@ts-expect-error const info = new ICEInfo(); //Create key and pwd bytes const frag = randomBytes(8); diff --git a/lib/SDPInfo.js b/lib/SDPInfo.js index ffa1e9a..57003e9 100644 --- a/lib/SDPInfo.js +++ b/lib/SDPInfo.js @@ -516,6 +516,7 @@ class SDPInfo */ answer(params) { //Create local SDP info + //@ts-expect-error const answer = new SDPInfo(); //Add ice @@ -1107,6 +1108,7 @@ class SDPInfo SDPInfo.create = function(params) { //Create local SDP info + //@ts-expect-error const sdp = new SDPInfo(); //Add ice @@ -1263,6 +1265,7 @@ SDPInfo.parse = function(string) const sdp = SDPTransform.parse(string); //Create sdp info object + //@ts-expect-error const sdpInfo = new SDPInfo(); //Set version