diff --git a/lib/saxes.d.ts b/lib/saxes.d.ts index 308833e4..b3c905c6 100644 --- a/lib/saxes.d.ts +++ b/lib/saxes.d.ts @@ -57,6 +57,8 @@ declare namespace saxes { fail(er: Error): this; write(chunk: string | null): this; close(): this; + + resolve(prefix: string): string | undefined; } } diff --git a/lib/saxes.js b/lib/saxes.js index 0d0a5a02..87aed0e1 100644 --- a/lib/saxes.js +++ b/lib/saxes.js @@ -1595,8 +1595,6 @@ class SaxesParser { * * @returns {string|undefined} The namespace URI or ``undefined`` if the * prefix is not defined. - * - * @private */ resolve(prefix) { let uri = this.tag.ns[prefix];