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
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:
profiler/src/app-logic/url-handling.ts
Line 637 in 4cb392a
We should check all of our Map constructions and type them if they are not typed properly.
┆Issue is synchronized with this Jira Task