diff --git a/src/DCC.ts b/src/DCC.ts index 8a01a0091041f2e49af3cfa86ff98700bcb92928..66912d4c64163a3a9a077828a17ddb5867c2b373 100644 --- a/src/DCC.ts +++ b/src/DCC.ts @@ -150,12 +150,12 @@ export class RefTypeDefinitionType extends DCCXMLElement { export class ReportAmendedSubstitutedType extends DCCXMLElement { _attr: IIdAndRefTypeAttributes; - typeOfChange: TextType; + typeOfChange: DCCXMLElement; replacedUniqueIdentifier: DCCXMLElement; constructor(el: Partial<ReportAmendedSubstitutedType> = {}) { super(el); - this.typeOfChange = new TextType(el.typeOfChange); + this.typeOfChange = new DCCXMLElement(el.typeOfChange); this.replacedUniqueIdentifier = new DCCXMLElement(el.replacedUniqueIdentifier); } }