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.
From this issue, having
EmptyParamsseems 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:
Therefore, should
EmptyParamsbe truly empty, akaEmptyParams = {}?Or consider a more suitable name, such as
UnknownParamsorAnyParams.Note: Other people like here also wonder.