amis-rpc-design/node_modules/rc-util/lib/utils/set.d.ts

7 lines
314 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
export type Path = (string | number | symbol)[];
export default 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;