Packages > fluid-framework >

ExtractItemType

Get the Item type from a LazyItem<Item>.

Signature

export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;

Type Parameters

Parameter Constraint Description
Item LazyItem