UNPKG

@ichooss/xflow

Version:

[English (US)](README.md) | 简体中文

16 lines 904 B
type mpObj<T> = { [k in keyof T | string | number | symbol]: any; }; export declare function apply<L, R>(target: mpObj<L>, patchItem: mpObj<R>): Partial<L> & Partial<R>; export declare function apply<L, R>(target: mpObj<L>, patchItem: mpObj<R>): R; export declare function apply<L, R>(target: mpObj<L>, patchItem: mpObj<R>): {}; export declare function apply<L, R>(target: mpObj<L>, patchItem: null): null; export declare function apply<L, R>(target: mpObj<L>, patchItem: string): string; export declare function apply<L, R>(target: mpObj<L>, patchItem: number): number; export declare function apply<L, R>(target: mpObj<L>, patchItem: undefined): undefined; export declare function apply<L, R>(target: mpObj<L>, patchItem: R[]): R[]; export declare function flatten(obj: any, delim?: string, stop?: (val: any) => boolean): { [key: string]: any; }; export {}; //# sourceMappingURL=object.d.ts.map