Home > @poq/transform > MapConverter
Defines logic of handling Map/Dictionary type during conversion process.
Signature:
export declare class MapConverter extends AbstractConverter<PlainObj, Map<string, unknown>>
Extends: AbstractConverter<PlainObj, Map
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. |