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

11 lines (10 loc) 901 B
import { DefaultValueElementOptions, DefaultValueElementMixin } from './default-value-element.mixin'; import { RequiredElementOptions, RequiredElementMixin } from './required-element.mixin'; import { SerializeValueElementMixin, SerializeValueElementOptions } from './serialize-value-element.mixin'; import { ParseValueElementOptions, ParseValueElementMixin } from './parse-value-element.mixin'; export interface TextContentElementOptions<Value, DefaultValue = Value> extends DefaultValueElementOptions<DefaultValue>, RequiredElementOptions, ParseValueElementOptions<Value>, SerializeValueElementOptions<Value> { } export interface TextContentElementMixin<Value, DefaultValue = Value> extends RequiredElementMixin, DefaultValueElementMixin<DefaultValue>, ParseValueElementMixin<Value>, SerializeValueElementMixin<Value> { } export declare class TextContentElementMixin<Value, DefaultValue = Value> { }