I have class like this:
class ValueType {
field1: number,
field2: string
}
class Demo {
someField: Map<number, ValueType[]>
}
How can I transform values of map?
I have tried annotating it with @Type(() => ValueType)
I have class like this:
class ValueType {
field1: number,
field2: string
}
class Demo {
someField: Map<number, ValueType[]>
}
How can I transform values of map?
I have tried annotating it with @Type(() => ValueType)