Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/ts-util-helpers. A TypeScript-first strictly typed utility helper library
Something went wrong. Try again.
12345678910111213/** * @callback objectMapCallback * @param value - The value of the key that is currently being modified. Added as an attempt to duplicate Array.map `value` * @param {string} key - The key that is currently being modified. Added as an attempt to duplicate Array.map `index` * @param object - The original untouched object that the map function is being called on. Added as an attempt to duplicate Array.map `array` */
export type ObjectIterableCallback<TT, K extends keyof TT, R> = ( value: TT[K], key: K, object: TT,) => R