UNPKG

664 BTypeScriptView Raw
1// Type definitions for ag-grid v18.1.2
2// Project: http://www.ag-grid.com/
3// Definitions by: Niall Crosby <https://github.com/ag-grid/>
4export declare class XmlFactory {
5 createXml(xmlElement: XmlElement, booleanTransformer?: (currentValue: boolean) => string): string;
6 private returnAttributeIfPopulated(key, value, booleanTransformer?);
7}
8export interface XmlElement {
9 name: string;
10 properties?: XmlAttributes;
11 children?: XmlElement[];
12 textNode?: string;
13}
14export interface XmlAttributes {
15 prefixedAttributes?: PrefixedXmlAttributes[];
16 rawMap?: any;
17}
18export interface PrefixedXmlAttributes {
19 prefix: string;
20 map: any;
21}