Skip to content

Commit

Permalink
Fixed Entries
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 12, 2024
1 parent 7d7bbc3 commit 208f2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function assignWithDefaults<To extends Record<keyof any, any>, From exten
/**
* Entries of T
*/
export type Entries<T extends object> = UnionToTuple<{ [K in keyof T]: [K, T[K]] }[keyof T]>;
export type Entries<T extends object> = UnionToTuple<{ [K in keyof T]: [K, T[K]] }[keyof T]> & [unknown, unknown][];

export function isJSON(str: string) {
try {
Expand Down

0 comments on commit 208f2c1

Please sign in to comment.