assignValue.d.ts 369 B

12345678910
  1. /**
  2. * Assigns `value` to `key` of `object` if the existing value is not equivalent.
  3. *
  4. * @private
  5. * @param {Object} object The object to modify.
  6. * @param {string} key The key of the property to assign.
  7. * @param {*} value The value to assign.
  8. */
  9. declare function assignValue(object: Record<string, any>, key: string, value: any): void;
  10. export default assignValue;