Fabian van der Veen
2020-01-21 13:33:17 -08:00
committed by Ben Lichtman
parent d01dbee933
commit 6f02cfde41
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
// Definitions by: Vincent Siao (Asana, Inc.) <https://github.com/vsiao>
// Evert Pot <https://github.com/evert>
// Daniel Cassidy <https://github.com/djcsdy>
// Fabian van der Veen <https://github.com/fvanderveen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
@@ -63,7 +64,7 @@ export class SAXParser {
closed: boolean;
strict: boolean;
opt: SAXOptions;
tag: string;
tag: Tag;
ENTITIES: {[key: string]: string};
// Events
+3 -1
View File
@@ -140,7 +140,9 @@ import fs = require("fs");
const attrValue: string = tag.attributes["name"];
};
parser.onattribute = (attr: { name: string; value: string; }) => {};
parser.onattribute = (attr: { name: string; value: string; }) => {
const tag: sax.Tag = parser.tag;
};
parser.onend = () => {};