export function typedEntries>( obj: T, ): [keyof T, T[keyof T]][] { return Object.entries(obj) as [keyof T, T[keyof T]][]; }