UNPKG

t-comm

Version:

专业、稳定、纯粹的工具库

7 lines (6 loc) 314 B
export type Path = (string | number | symbol)[]; export declare function set<Entity = any, Output = Entity, Value = any>(entity: Entity, paths: Path, value: Value, removeIfUndefined?: boolean): Output; /** * Merge objects which will create */ export declare function merge<T extends object>(...sources: T[]): T;