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.

Parameters

Parameter Type Default Notes
itemTemplate Required IItemTemplate

Item Template to work with

Returns


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