Skip to content

Commit

Permalink
fix(typings): "selfClosing" => "isSelfClosing"
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al authored and lddubeau committed Feb 22, 2019
1 parent ea63604 commit d96a2bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/saxes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare namespace saxes {
uri: string;
attributes: Record<string, SaxesAttribute> | Record<string, string>;
ns: Record<string, string>;
selfClosing: boolean;
isSelfClosing: boolean;
}

export class SaxesParser {
Expand Down
2 changes: 1 addition & 1 deletion lib/saxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function nsMappingCheck(parser, mapping) {
*
* @property {Object.<string, string>} ns The namespace bindings in effect.
*
* @property {boolean} selfClosing Whether the tag is
* @property {boolean} isSelfClosing Whether the tag is
* self-closing (e.g. ``<foo/>``).
*
*/
Expand Down

0 comments on commit d96a2bd

Please sign in to comment.