UNPKG

type-plus

Version:
3 lines 279 B
import type { KeyTypes } from './KeyTypes.js'; export declare function mapKey<R, S extends Record<KeyTypes, any>, T = any>(subject: S, predicate: (this: T, key: keyof S, index: number, obj: Array<keyof S>, subject: S) => R, thisArg?: T): R[]; //# sourceMappingURL=mapKey.d.ts.map