replace internal module to namespace

This commit is contained in:
vvakame
2016-03-17 02:18:10 +09:00
parent 2f47c75835
commit 14fe4313f4
1139 changed files with 179639 additions and 179639 deletions
+5 -5
View File
@@ -4,16 +4,16 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module 'xmltojson' {
export = xmltojson;
module xmltojson {
namespace xmltojson {
function grokType(sValue: any): any;
function parseString(xmlString: string, opt: Options): Object;
function parseXml(oXMLParent: Document, opt: Options): Object;
function xmlToString(xmlDoc: Document): string;
function stringToXml(xmlString: string): Document;
interface Options {
mergeCDATA?: boolean,
grokAttr?: boolean,
@@ -30,5 +30,5 @@ declare module 'xmltojson' {
stripElemPrefix?: boolean,
childrenAsArray?: boolean
}
}
}
}