Poq.SDK.Node

Home > @poq/transform > TypeConverter

TypeConverter class

Defines logic of handling subtype during conversion process.

Signature:

export declare class TypeConverter extends AbstractConverter<PlainObj, InstanceType<Ctor>> 

Extends: AbstractConverter<PlainObj, InstanceType<Ctor

Methods

Method Modifiers Description
toPlain(transformer, item, options)   Method transforms instance of class/type into plain representation.
toType(transformer, item, options)   Method transforms plain representation into instance of class/type.