UNPKG

@angular-redux/store

Version:
9 lines (8 loc) 326 B
/** * Sets a deeply-nested property value from an object, given a 'path' * of property names or array indices. Path elements are created if * not there already. Does not mutate the given object. * * @hidden */ export declare const setIn: (obj: any, [firstElem, ...restElems]: (string | number)[], value: any) => object;