UNPKG

@mr-hope/vuepress-utils

Version:
7 lines (6 loc) 412 B
declare type IAnyObject = Record<string, any>; /** Deep merge objects to the first one */ export declare const deepAssign: <T extends Record<string, any>, U extends Record<string, any> = T, V extends Record<string, any> = T>(originObject: T, ...assignObjects: U[]) => V; /** Deep merge objects to the last one */ export declare const deepAssignReverse: (...assignObjects: IAnyObject[]) => IAnyObject; export {};