set.d.ts 314 B

123456
  1. export type Path = (string | number | symbol)[];
  2. export default function set<Entity = any, Output = Entity, Value = any>(entity: Entity, paths: Path, value: Value, removeIfUndefined?: boolean): Output;
  3. /**
  4. * Merge objects which will create
  5. */
  6. export declare function merge<T extends object>(...sources: T[]): T;