// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-constraint
var chunkArray = function (_a) {
    var array = _a.array, chunkSize = _a.chunkSize;
    var chunks = [];
    for (var i = 0; i < array.length; i = i + chunkSize) {
        chunks.push(array.slice(i, i + chunkSize));
    }
    return chunks;
};

export { chunkArray };
//# sourceMappingURL=chunkArray.js.map
