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 {