mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
replace internal module to namespace
This commit is contained in:
Vendored
+5
-5
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user