Typescript can't infer the type of the maps when it's not properly typed, and it automatically assigns Map<any, any>.
For example, it looks like the keys/values of this map is not properly typed even though the return type is specified:
|
const hiddenLocalTracksByPid = new Map(); |
We should check all of our Map constructions and type them if they are not typed properly.
┆Issue is synchronized with this Jira Task