PaginationItem
Type of a single list item for the given request and pagination
Import
import { PaginationItem } from "@hyper-fetch/core"
Source
Package
Preview
type PaginationItem<R,P> = P extends { items: infer Items } ? Items extends (...args: any[]) => infer Output ? ArrayItem<Output> : Items extends keyof NonNullable<ExtractResponseType<R>> ? ArrayItem<NonNullable<ExtractResponseType<R>>[Items]> : never : ArrayItem<ExtractResponseType<R>>;

