diff --git a/sax/sax.d.ts b/sax/sax.d.ts index 91c773db3..8d0d8784b 100644 --- a/sax/sax.d.ts +++ b/sax/sax.d.ts @@ -32,6 +32,7 @@ declare module "sax" { isSelfClosing: boolean; } + // Interface used when the xmlns option is set export interface QualifiedTag extends QualifiedName, BaseTag { ns: { [key: string]: string }; attributes: { [key: string]: Attribute }; @@ -41,14 +42,6 @@ declare module "sax" { attributes: { [key: string]: string }; } - // export interface Tag extends BaseTag { - // // If opt.xmlns available - // ns?: { [key: string]: string }; - // // If opt.xmlns available, the attributes map value is an object type - // attributes: { [key: string]: string | Attribute }; - // isSelfClosing: boolean; - // } - export function parser(strict: boolean, opt: SAXOptions): SAXParser; export class SAXParser { constructor(strict: boolean, opt: SAXOptions);