Update xmlbuilder

This commit is contained in:
Casper Warden
2019-09-25 19:10:59 +01:00
parent fd14f67acc
commit 4bf699deaf
11 changed files with 38 additions and 52 deletions

View File

@@ -1,7 +1,6 @@
import * as validator from 'validator';
import * as builder from 'xmlbuilder';
import {XMLElementOrXMLNode} from 'xmlbuilder';
import * as Long from 'long';
import {XMLNode} from 'xmlbuilder';
const uuid = require('uuid');
export class UUID
@@ -30,7 +29,7 @@ export class UUID
}
}
static getXML(doc: XMLElementOrXMLNode, u?: UUID)
static getXML(doc: XMLNode, u?: UUID)
{
const str = UUID.getString(u);
doc.ele('UUID', str);