10 lines
262 B
TypeScript
10 lines
262 B
TypeScript
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;
|
|
}
|