# SetConverter Class

Module
import { SetConverter } from "@tsed/common"
Source/packages/common/src/converters/components/SetConverter.ts

# Overview

class SetConverter implements IConverter {
    /**
     *
     * @param data
     * @param target
     * @param baseType
     * @param deserializer
     * @returns {Map<string, T>}
     */
    deserialize<T>(data: any, target: any, baseType: T, deserializer: IDeserializer): Set<T>;
    /**
     *
     * @param data
     * @param serializer
     */
    serialize<T>(data: Set<T>, serializer: ISerializer): any[];
}

# Description

Converter component for the Set Type.