UNPKG

@devlander/utils

Version:

Comprehensive JavaScript and TypeScript utilities for seamless development. Includes object manipulation, data validation, and more.

7 lines (6 loc) 266 B
type IterableObject<T> = { [Symbol.iterator]: () => IterableIterator<[string, T]>; }; type ForEachEntryCallback<T> = (key: string, value: T) => void; export declare const forEachEntry: <T>(obj: IterableObject<T>, fn: ForEachEntryCallback<T>) => void; export {};