Type Alias: ChecklistDOMParserParseOptions<I, S, G, L, B>
ChecklistDOMParserParseOptions<
I,S,G,L,B> =object&PartialIfUndefined<S,ParseOptionsSetMetadataFragment<I,S,G,L,B>> &PartialIfUndefined<G,ParseOptionsGroupMetadataFragment<I,G,L,B>> &PartialIfUndefined<L,ParseOptionsListMetadataFragment<I,L,B>> &PartialIfUndefined<B,ParseOptionsBranchMetadataFragment<I,B>>
Defined in: src/sdk/checklist/ChecklistDOMParser.ts:70
Options to apply when ChecklistDOMParser is parsing a checklist definition.
Type Declaration
discardEmptyBranches?
optionaldiscardEmptyBranches:boolean
Whether to discard parsed checklist branch definitions that have no items. Defaults to false.
discardEmptyGroups?
optionaldiscardEmptyGroups:boolean
Whether to discard parsed checklist group definitions that have no lists. Defaults to false.
discardEmptyLists?
optionaldiscardEmptyLists:boolean
Whether to discard parsed checklist list definitions that have no items. Defaults to false.
errorInsteadOfDiscard?
optionalerrorInsteadOfDiscard:boolean
Whether to throw an error when a syntax error is encountered that is normally resolved by discarding the
offending definition. Defaults to false.
Type Parameters
| Type Parameter |
|---|
I extends BaseChecklistItemTypeDefMap |
S |
G |
L |
B |