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,5 +1,5 @@
import {vec2} from '../tsm/vec2';
import {XMLElementOrXMLNode} from 'xmlbuilder';
import {XMLNode} from 'xmlbuilder';
export class Vector2 extends vec2
{
@@ -8,7 +8,7 @@ export class Vector2 extends vec2
return new Vector2();
}
static getXML(doc: XMLElementOrXMLNode, v?: Vector2)
static getXML(doc: XMLNode, v?: Vector2)
{
if (v === undefined)
{