Skip to content
module@warp-drive/experiments/pagination @experimental

Type Alias PaginationContentFeaturesFor<RT = unknown, M extends PaginateMode = "paged"> ​

ts
type PaginationContentFeaturesFor<RT = unknown, M extends PaginateMode = "paged"> = M extends "infinite" ? InfinitePaginationContentFeatures<RT> : PagedPaginationContentFeatures<RT>;

Defined in: warp-drive-packages/core/src/signals/pagination-subscription.ts:82

Resolves a PaginateMode to the content features it exposes. Mirror of PaginationStateFor.

Type Parameters ​

RT ​

RT = unknown

M ​

M extends PaginateMode = "paged"

Released under the MIT License.