mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-21 11:09:53 +08:00
Added some comments to the changes in sax.d.ts
This commit is contained in:
Vendored
+1
-8
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user