Home > @poq/transform > TypeConverter
Defines logic of handling subtype during conversion process.
Signature:
export declare class TypeConverter extends AbstractConverter<PlainObj, InstanceType<Ctor>>
Extends: AbstractConverter<PlainObj, InstanceType<Ctor
| 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. |