Skip to main content

FlexList TypeAlias

A flexible way to list values. Each item in the list can either be an "eager" **value** or a "lazy" **function that returns a value** (the latter allows cyclic references to work).

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Signature

export type FlexList<Item = unknown> = readonly LazyItem<Item>[];

Type Parameters

Parameter Default Description
Item unknown