DefinitelyTyped/types/chunk/index.d.ts
2019-05-02 20:04:14 -07:00

11 lines
328 B
TypeScript

// Type definitions for chunk 0.0
// Project: https://github.com/ryancole/chunk
// Definitions by: Florian Keller <https://github.com/ffflorian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace chunk;
declare function chunk<T>(array: ArrayLike<T>, size?: number): T[][];
export = chunk;