mout
Version:
Modular Utilities
10 lines (9 loc) • 323 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 forIn(obj: {
[k: string]: any;
}, fn: Function, thisObj?: any): void;
export default forIn;