mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
[xml2js] missing the Parser constructor on module
This commit is contained in:
Vendored
+8
@@ -16,6 +16,14 @@ declare module 'xml2js' {
|
||||
buildObject(rootObj: any): string;
|
||||
}
|
||||
|
||||
class Parser {
|
||||
constructor(options?: Options);
|
||||
processAsync(): any;
|
||||
assignOrPush(obj: any, key: string, newValue: any): any;
|
||||
reset(): any;
|
||||
parseString(str: string , cb?: Function): void;
|
||||
}
|
||||
|
||||
interface RenderOptions {
|
||||
indent?: string;
|
||||
newline?: string;
|
||||
|
||||
Reference in New Issue
Block a user