[xml2js] missing the Parser constructor on module

This commit is contained in:
unknown
2015-03-11 09:38:28 +01:00
parent bcf610fef5
commit 045dfbdfd9
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -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;