As a user of the scl-lib I want to have a function that reliably removes a data type from the data type templates section and does not leave any orphans.
Requirements:
export a function removeDataType(dataType:Element, options:DtaTypeRemoveOptions = {force: false}): Remove[]
return empty array if the data type is referenced somewhere
allow for force remove a data type !! This will leave an invalid file !!
type: DataTypeRemoveOptions = {force: boolean} defaulting to false
As a user of the
scl-lib
I want to have a function that reliably removes a data type from the data type templates section and does not leave any orphans.Requirements:
removeDataType(dataType:Element, options:DtaTypeRemoveOptions = {force: false}): Remove[]
force
remove a data type !! This will leave an invalid file !!