From 208f2c1a3d057261610ed862b51c325a31ffd5bd Mon Sep 17 00:00:00 2001 From: James Prevett Date: Fri, 11 Oct 2024 19:17:14 -0500 Subject: [PATCH] Fixed `Entries` --- src/objects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects.ts b/src/objects.ts index 2cf4cc3..9f85436 100644 --- a/src/objects.ts +++ b/src/objects.ts @@ -35,7 +35,7 @@ export function assignWithDefaults, From exten /** * Entries of T */ -export type Entries = UnionToTuple<{ [K in keyof T]: [K, T[K]] }[keyof T]>; +export type Entries = UnionToTuple<{ [K in keyof T]: [K, T[K]] }[keyof T]> & [unknown, unknown][]; export function isJSON(str: string) { try {