Skip to content

Use unknown instead of any for StringIndexed #1661

@robhung

Description

@robhung

export type StringIndexed = Record<string, any>;

As per title, I think it should be unknown to prevent accessing properties which may not exist.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions