diff options
Diffstat (limited to 'packages/typescript-typings/types/xml-js')
-rw-r--r-- | packages/typescript-typings/types/xml-js/index.d.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/typescript-typings/types/xml-js/index.d.ts b/packages/typescript-typings/types/xml-js/index.d.ts new file mode 100644 index 000000000..8e4873aeb --- /dev/null +++ b/packages/typescript-typings/types/xml-js/index.d.ts @@ -0,0 +1,7 @@ +declare interface XML2JSONOpts { + compact?: boolean; + spaces?: number; +} +declare module 'xml-js' { + const xml2json: (xml: string, opts: XML2JSONOpts) => string; +} |