Skip to content

EmptyParams not empty? #1108

@dprevost-LMI

Description

@dprevost-LMI

From this issue, having EmptyParams seems intended to not be empty and actually hold any unknown prop/value with { *text => any }

However, it just makes no sense to have this object in the code with this name, which holds a record of unknown properties, for example:

export type EmptyParams = Extensible
export type Extensible = Record<string, unknown>

Therefore, should EmptyParams be truly empty, aka EmptyParams = {}?
Or consider a more suitable name, such as UnknownParams or AnyParams.

Note: Other people like here also wonder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-discussionIssues to be discussed by the working group

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions