Skip to content

Commit

Permalink
fix: fix some typing mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
lddubeau committed Jan 8, 2020
1 parent 0a1f1ce commit f2a1d5e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/saxes.ts
Expand Up @@ -95,7 +95,7 @@ const S_CLOSE_TAG_SAW_WHITE = 43; // </a >
/**
* The list of supported events.
*/
exports.EVENTS = [
export const EVENTS = [
"text",
"processinginstruction",
"doctype",
Expand Down Expand Up @@ -2562,8 +2562,9 @@ export interface SaxesParserPlain extends SaxesParserImpl {
}

export interface SaxesParserConstructor {
new (opt: SaxesOptions & { xmlns: true }): SaxesParserNS;
new (opt: SaxesOptions & { xmlns?: false | undefined }): SaxesParserPlain;
new (opt?: SaxesOptions & { xmlns: true }): SaxesParserNS;
new (opt?: SaxesOptions & { xmlns?: false | undefined }): SaxesParserPlain;
new (opt?: SaxesOptions): SaxesParser;
}

export const SaxesParser: SaxesParserConstructor = SaxesParserImpl;
Expand Down

0 comments on commit f2a1d5e

Please sign in to comment.