UNPKG

@extra-array/set-path-update

Version:

Sets value at path in a nested array.

12 lines (11 loc) 307 B
declare module "@extra-array/set-path-update" { /** * Sets value at path in a nested array. * @param x a nested array (updated) * @param p path * @param v value * @returns x */ declare function setPath$(x: any[], p: number[], v: any): any[]; export = setPath$; //# sourceMappingURL=setPath$.d.ts.map}