UNPKG

@extra-array/splice-update

Version:

Removes or replaces existing values.

12 lines (11 loc) 360 B
declare module "@extra-array/splice-update" { /** * Removes or replaces existing values. * @param x an array (updated) * @param i remove index * @param n number of values to remove (rest) * @param vs values to insert */ declare function splice$<T>(x: T[], i: number, n?: number, ...vs: T[]): T[]; export = splice$; //# sourceMappingURL=splice$.d.ts.map}