Type alias TChunk<T>

TChunk<T>: {
    items: T[];
    key: number | string;
}

Type Parameters

  • T

Type declaration

  • items: T[]

    The array of items in the chunk.

  • key: number | string

    A unique key for the chunk, typically its index.