Add xml2js definition

This commit is contained in:
Michel Salib
2014-06-10 17:13:54 +02:00
parent e713407390
commit 592d67eb21
3 changed files with 44 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/// <reference path="xml2js.d.ts" />
import xml2js = require('xml2js');
xml2js.parseString("<root>Hello xml2js!</root>", (err: any, result: any) => { });
xml2js.parseString("<root>Hello xml2js!</root>", {trim: true}, (err: any, result: any) => { });