UNPKG

rollun-ts-utils

Version:
10 lines (9 loc) 403 B
/** * Deep diff between two object, using lodash * Returns object with properties from {object}, that does not exist in {base} or exits but not equal * @param {Object} object Object compared * @param {Object} base Object to compare with * @return {Object} Return a new object who represent the diff */ declare function difference(object: {}, base: {}): any; export default difference;