UNPKG

simple-xml-to-json

Version:
16 lines (12 loc) 391 B
declare module 'simple-xml-to-json' { interface ASTConverter { convert: (astAsJson: object) => any; } export function convertXML(xmlAsString: string, customConverter?: ASTConverter): any; export function createAST(xmlAsString: string): object; const defaultExport: { convertXML: typeof convertXML; createAST: typeof createAST; }; export default defaultExport; }