Poq.SDK.Node

Home > @poq/transform > TypeArrayConverter

TypeArrayConverter class

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

Methods

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.