/** * @module array */ /** * * Updates an item in an array and returns a new array * * @param array The array to update * @param query A map of property paths (period delimited string) to values used to test if an object should be updated, * the paths are used in the get function * @param updateCallback A callback used to update the item * @return The array with the updated item * */ export default function updateItem(array: object[], query: object, updateCallback: (item: any) => any): object[];