/** * updates the provided array with the provided value on the specified index * @example * update(2, 3, [1, 2, 5]) * // returns [1, 2, 3] */ export default function update(index: number, newElement: T, arr: T[]): T[]; //# sourceMappingURL=update.d.ts.map