Skip to content

Window object augmentations are not typed #2273

Open
@ianyong

Description

@ianyong

The application extends the global window object with additional properties, most of which can be found in public/externalLibs/. However, these augmentations are not typed. The current practice is to cast the window object as any in order to access these additional properties. (Simply search for window as any in the codebase to find all such instances.)

In order to make such accesses type-safe, we can make use of TypeScript's ability to augment global types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersnice-to-haveIssue is a non-critical, non-important

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions