Home > @poq/transform > TypeArrayConverter
Defines logic of handling array’s subtype during conversion process.
Signature:
export declare class TypeArrayConverter extends AbstractConverter<Record<string, unknown>[], InstanceType<Ctor>[]>
Extends: AbstractConverter<Record<string, unknown>[], InstanceType<Ctor
Method | Modifiers | Description |
---|---|---|
toPlain(transformer, items, options) | Method transforms instance of class/type into plain representation. | |
toType(transformer, items, options) | Method transforms plain representation into instance of class/type. |