Closed Masa-Shin closed 1 year ago
If we replace object
type with Record<string, unknown>
or Record<keyof any, unknown>
, we cannot use interfaces (playground)
I see you point, since this is a library it should be able to accept interfaces. So I close the PR.
It is recommended to use
Record<string, unknown>
instead ofobject
type. Reference.