From 4f6567dfa742b58fb7fc97b2edabe95bb0970261 Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 21 Feb 2016 20:56:14 +0100 Subject: [PATCH] Added some comments to the changes in sax.d.ts --- sax/sax.d.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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);