UNPKG

intercom-client

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fintercom%2Fintercom-node) [![npm shield](ht

12 lines (11 loc) 505 B
/** * Sets the value at path of object. If a portion of path doesn’t exist it’s created. This is * inspired by Lodash's set function, but is simplified to accommodate our use case. * For more details, see https://lodash.com/docs/4.17.15#set. * * @param object The object to modify. * @param path The path of the property to set. * @param value The value to set. * @return Returns object. */ export declare function setObjectProperty<T extends object>(object: T, path: string, value: any): T;