From d96a2bd0c29016efdfa7a05d3443f3e363a2ac73 Mon Sep 17 00:00:00 2001 From: "Ahmed T. Ali" Date: Fri, 22 Feb 2019 22:00:15 +0300 Subject: [PATCH] fix(typings): "selfClosing" => "isSelfClosing" --- lib/saxes.d.ts | 2 +- lib/saxes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/saxes.d.ts b/lib/saxes.d.ts index b50f961d..2a6e98f1 100644 --- a/lib/saxes.d.ts +++ b/lib/saxes.d.ts @@ -30,7 +30,7 @@ declare namespace saxes { uri: string; attributes: Record | Record; ns: Record; - selfClosing: boolean; + isSelfClosing: boolean; } export class SaxesParser { diff --git a/lib/saxes.js b/lib/saxes.js index 586369ad..95b23f1b 100644 --- a/lib/saxes.js +++ b/lib/saxes.js @@ -179,7 +179,7 @@ function nsMappingCheck(parser, mapping) { * * @property {Object.} ns The namespace bindings in effect. * - * @property {boolean} selfClosing Whether the tag is + * @property {boolean} isSelfClosing Whether the tag is * self-closing (e.g. ````). * */