es-toolkit
Version:
A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.
8 lines (7 loc) • 460 B
TypeScript
import { ObjectIterator } from "./ObjectIterator.js";
import { IterateeShorthand } from "./IterateeShorthand.js";
//#region src/compat/_internal/ObjectIteratee.d.ts
type ObjectIteratee<TObject> = ObjectIterator<TObject, unknown> | IterateeShorthand<TObject[keyof TObject]>;
type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | IterateeShorthand<TObject[keyof TObject]>;
//#endregion
export { ObjectIteratee, ObjectIterateeCustom };