ExtractItemType

Packages > fluid-framework > InternalTypes > ExtractItemType

Get the Item type from a LazyItem<Item>.

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 ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;

Type Parameters

Parameter Constraint Description
Item LazyItem