core:deep pick

This commit is contained in:
Code 2025-02-12 20:48:34 +01:00
parent 1670bebddd
commit 568c9792f3
4 changed files with 5 additions and 2 deletions

View File

@ -35,4 +35,4 @@ export declare function createProxyObject<T extends object>(methodNames: string[
export declare function mapValues<T extends {}, R>(obj: T, fn: (value: T[keyof T], key: string) => R): {
[K in keyof T]: R;
};
export {};
export * from './pick.js';

View File

@ -246,4 +246,5 @@ export function mapValues(obj, fn) {
}
return result;
}
export * from './pick.js';
//# sourceMappingURL=objects.js.map

File diff suppressed because one or more lines are too long

View File

@ -273,3 +273,5 @@ export function mapValues<T extends {}, R>(obj: T, fn: (value: T[keyof T], key:
}
return result as { [K in keyof T]: R };
}
export * from './pick.js'