UNPKG

jsmodern

Version:

An extension to existing JavaScript, influenced by other great languages such as Rust, Dart, Java, Golang, etc.

9 lines 269 B
import { PrototypeStruct } from '..'; export declare type ChunksFn<T> = (chunkSize: number) => T[] | T[][]; export declare const chunks: PrototypeStruct; declare global { interface Array<T> { chunks: ChunksFn<T>; } } //# sourceMappingURL=chunks.d.ts.map