UNPKG

open-agreements

Version:

Open-source legal template filling CLI and library

7 lines • 360 B
/** * Convert an array of items into a Record keyed by a specified ID field. * Used to transform test fixtures from array format to Record format * for the array-to-record schema migration. */ export declare function arrayToRecord<T extends Record<string, unknown>>(items: T[], idField: keyof T): Record<string, T>; //# sourceMappingURL=test-utils.d.ts.map