/** * Follows the given path through an object structure to set the given value, * creating objects within the structure as needed. * * @param {Object} target * @param {string|Array} path * @param {any} value Value to set * * @returns {Object} * @category Data */ export default function set(target: any, path: string | Array, value: any): any;