Class conversion issue

Hello,
I’ve faced an issue with some C# class conversion.

Here is the problematic code fragment:
public Dictionary<LicenseeContactPersonType, PersonDto> PlatformContactPersons { get; set; }
“LicenseeAddressType” is enum type.

After conversion to TS, we are getting this:

Conversion is not done correctly - it should look something like this:
image

Is this a bug or something is done incorrectly? :slight_smile:

JS/TypeScript only supports an integer or string key for object dictionaries, you’ll need to change the key to an integer or string type to be able to use it in TypeScript or change the type to a List of complex types.