From d2563d8ba64f9d38415a3b188611b11b1f7de803 Mon Sep 17 00:00:00 2001 From: Jan Loewe <kontakt@jloewe.net> Date: Fri, 13 May 2022 10:34:33 +0200 Subject: [PATCH] fix(statementMetaDataType): add missing location --- src/DCC.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DCC.ts b/src/DCC.ts index 1f6efd2..0beec82 100644 --- a/src/DCC.ts +++ b/src/DCC.ts @@ -735,6 +735,7 @@ export class StatementMetaDataType extends DCCXMLElement { data?: DataType; nonSIDefinition?: DCCXMLElement; nonSIUnit?: DCCXMLElement; + location?: LocationType; constructor(el: Partial<StatementMetaDataType> = {}) { super(el); @@ -756,6 +757,7 @@ export class StatementMetaDataType extends DCCXMLElement { if (el.data) this.data = new DataType(el.data); if (el.nonSIDefinition) this.nonSIDefinition = new DCCXMLElement(el.nonSIDefinition); if (el.nonSIUnit) this.nonSIUnit = new DCCXMLElement(el.nonSIUnit); + if (el.location) this.location = new LocationType(el.location); } } -- GitLab