mout
Version:
Modular Utilities
8 lines (7 loc) • 317 B
TypeScript
/**
* Similar to Array/forEach but works over object properties and fixes Don't
* Enum bug on IE.
* based on: http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation
*/
declare function forOwn(obj: Record<string, any>, fn: Function, thisObj?: any): void;
export default forOwn;