ensureOptionalGroupsTemplating

Function

Ensure that the item template has :optional on the item.properties.* team properties. Does not mutate the passed in object - returns a clone.

  • ensureOptionalGroupsTemplating(itemTemplate: IItemTemplate) : any

Parameters

Parameter Type Default Notes
itemTemplate Required IItemTemplate

Item Template to work with

Returns

any

Function defined in sites/src/ensure-optional-groups-templating.ts:8