UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

10 lines (9 loc) 312 B
export type XMLManagerRawXML = string; export interface XMLManagerParseOpts { attributeNamePrefix?: string; isArray?: (tagName: string) => boolean; isObject?: (tagName: string) => boolean; } export interface XMLManager { parse<T>(xml: XMLManagerRawXML, opts?: XMLManagerParseOpts): Promise<T>; }