Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 776 Bytes

XmlChardataOptions.md

File metadata and controls

39 lines (23 loc) · 776 Bytes

xml-class-transformer / XmlChardataOptions

Interface: XmlChardataOptions

Table of contents

Properties

Properties

type

type: () => XmlPrimitiveType

Type declaration

▸ (): XmlPrimitiveType

An XML chardata an only be of primitive types. Specify the primitive type for parsing and serializing the chardata.

Example

{ type: () => String }
{ type: () => Number }
{ type: () => BigInt }
{ type: () => Boolean }
Returns

XmlPrimitiveType

Defined in

src/types.ts:128