nestjs-cls
Version:
A continuation-local storage module compatible with NestJS's dependency injection.
4 lines • 405 B
TypeScript
import { RecursiveKeyOf, DeepPropertyType } from '../types/recursive-key-of.type';
export declare function getValueFromPath<T, TP extends RecursiveKeyOf<T> & string>(obj: T, path: TP): DeepPropertyType<T, TP>;
export declare function setValueFromPath<T, TP extends RecursiveKeyOf<T> & string, V extends DeepPropertyType<T, TP>>(obj: T, path: TP, value: V): T;
//# sourceMappingURL=value-from-path.d.ts.map