0.1.34 • Published 2 years ago
@types/xmldom v0.1.34
Installation
npm install --save @types/xmldom
Summary
This package contains type definitions for xmldom (https://github.com/xmldom/xmldom).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmldom.
index.d.ts
// Type definitions for xmldom 0.1.22
// Project: https://github.com/xmldom/xmldom
// Definitions by: Qubo <https://github.com/tkqubo>
// Karfau <https://github.com/karfau>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference lib="dom" />
declare namespace xmldom {
var DOMParser: DOMParserStatic;
var XMLSerializer: XMLSerializerStatic;
var DOMImplementation: DOMImplementationStatic;
interface DOMImplementationStatic {
new(): DOMImplementation;
}
interface DOMParserStatic {
new (): DOMParser;
new (options: Options): DOMParser;
}
interface XMLSerializerStatic {
new (): XMLSerializer;
}
interface DOMParser {
parseFromString(xmlsource: string, mimeType?: string): Document;
}
interface XMLSerializer {
serializeToString(node: Node): string;
}
interface Options {
locator?: any;
errorHandler?: ErrorHandlerFunction | ErrorHandlerObject | undefined;
}
interface ErrorHandlerFunction {
(level: string, msg: any): any;
}
interface ErrorHandlerObject {
warning?: ((msg: any) => any) | undefined;
error?: ((msg: any) => any) | undefined;
fatalError?: ((msg: any) => any) | undefined;
}
}
export = xmldom;
Additional Details
- Last updated: Fri, 02 Jul 2021 17:02:22 GMT
- Dependencies: none
- Global values: none
Credits
0.1.32
2 years ago
0.1.33
2 years ago
0.1.34
2 years ago
0.1.31
4 years ago
0.1.30
5 years ago
0.1.29
8 years ago
0.1.28
9 years ago
0.1.27
9 years ago
0.1.26-alpha
9 years ago
0.1.25-alpha
9 years ago
0.1.24-alpha
9 years ago
0.1.23-alpha
9 years ago
0.1.22-alpha
9 years ago
0.1.21-alpha
9 years ago
0.1.20-alpha
9 years ago
0.1.15-alpha
9 years ago
0.1.14-alpha
9 years ago