/** * @module accessors */ /** * * Sets the value at path of object. If a portion of path doesn't exist, it's created. Arrays are created for missing * index properties while objects are created for all other missing properties. * * @param object The object to modify * @param path The path of the property to set * @param value The value to set * */ export default function set(object: Record | any[], path: string[] | string, value: any): void;