UNPKG

@rxap/xml-parser

Version:

Provides a set of decorators and services for parsing and serializing XML documents into TypeScript classes. It simplifies the process of mapping XML elements and attributes to class properties, handling data validation, and serializing objects back into

14 lines (13 loc) 495 B
import { RxapElement } from '../../element'; import { RequiredElementOptions, RequiredElementMixin } from './required-element.mixin'; export interface PathElementOptions extends RequiredElementOptions { path?: string[]; } export interface PathElementMixin extends RequiredElementMixin { } export declare class PathElementMixin { readonly options: any; constructor(options?: any); applyPath(element: RxapElement): RxapElement; coercePath(element: RxapElement): RxapElement; }