UNPKG

245 BTypeScriptView Raw
1type Entries<T> = {
2 [K in keyof T]: [K, T[K]];
3}[keyof T][];
4/**
5 * @name objectEntries
6 * @summary A version of Object.entries that is typed for TS
7 */
8export declare function objectEntries<T extends object>(obj: T): Entries<T>;
9export {};