The type declaration is missing their CLOSE token from the api.d.ts https://github.com/SAP/xml-tools/blob/master/packages/parser/api.d.ts#L98