-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
I've been compiling a project using MediaStreamTrackProcessor instances for a long time, it was not included in the compiler so I was using a custom extern file with the following content :
/**
* @constructor
* @param {MediaStreamTrack} track :
*/
var MediaStreamTrackProcessor = function(track) {};
The latest version returned a redeclared variable error, so I removed my extern file and got a new error : MediaStreamTrackProcessor is not constructor.
externs.zip//w3c_rtc.js:3645:9
I added two suppress annotations and re-included my externs file.
/**
* @suppress {duplicate}
* @suppress {checkTypes}
* @constructor
* @param {MediaStreamTrack} track :
*/
var MediaStreamTrackProcessor = function(track) {};
My project is compiling properly but I still get warnings about MediaStreamTrackProcessor not being a constructor.
Metadata
Metadata
Assignees
Labels
No labels