Skip to content

Check the Map constructions in the codebase to make sure that they are all typed properly #5617

@canova

Description

@canova

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    code maintenanceIssues that are not user facing, but are related the technical debt with the code itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions