Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an optional generic type with string as the default type for the object argument in Object.entries. This makes the typing of this function “end-to-end”. For example, if Record<“value1” | “value2”, string> is passed as an argument, the output value will be [“value1” | “value2”, string][]
- Loading branch information