Type Alias: ChecklistItemDef<I, T>
ChecklistItemDef<
I,T> =TextendsChecklistItemType?I[T] :never
Defined in: src/sdk/checklist/ChecklistDefinitions.ts:87
A utility type that returns a union type of checklist item definitions for a given set of checklist item types.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
I extends BaseChecklistItemTypeDefMap | BaseChecklistItemTypeDefMap | A map from checklist item types to checklist item definitions. Defaults to BaseChecklistItemTypeDefMap. |
T extends ChecklistItemType | ChecklistItemType | The checklist item types to include in the returned union type. Defaults to ChecklistItemType (i.e. the union of all checklist item types). |