UNPKG

svelte

Version:

Cybernetically enhanced web apps

9 lines (8 loc) 351 B
/** * Pushes all `items` into `array` using `push`, therefore mutating the array. * We do this for memory and perf reasons, and because `array.push(...items)` would * run into a "max call stack size exceeded" error with too many items (~65k). * @param array * @param items */ export declare function push_array<T>(array: T[], items: T[]): void;