Interface Collection<T>

Type Parameters

  • T

Hierarchy

Properties

count: number
getItem: ((page: number) => T)

Type declaration

    • (page: number): T
    • Parameters

      • page: number

      Returns T

next: string
nextOrPrev: ((page: string) => Promise<Collection<T>>)

Type declaration

nextPage: ((page: number) => Promise<Collection<T>>)

Type declaration

previous: string
previousPage: ((page: number) => Promise<Collection<T>>)

Type declaration

results: T[]

Generated using TypeDoc