From 4fe9322cc82f0c511728444b6b0abd6715126ff0 Mon Sep 17 00:00:00 2001 From: James Prevett Date: Fri, 11 Oct 2024 20:01:55 -0500 Subject: [PATCH] Fixed iterator thing again --- src/objects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects.ts b/src/objects.ts index 8629307..9b8be7e 100644 --- a/src/objects.ts +++ b/src/objects.ts @@ -40,7 +40,7 @@ export type EntriesTuple = UnionToTuple<{ [K in keyof T]: [K, /** * Entries of T */ -export type Entries = { [K in keyof T]: [K, T[K]] }[keyof T][]; +export type Entries = ({ [K in keyof T]: [K, T[K]] }[keyof T] & unknown[])[]; export function isJSON(str: string) { try {