diff --git a/Example/Example.csproj b/Example/Example.csproj index ed3c8e3..ba6747f 100755 --- a/Example/Example.csproj +++ b/Example/Example.csproj @@ -6,7 +6,7 @@ - + diff --git a/README.md b/README.md index db38bdf..9ec83ca 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ export interface Vehicle extends Entity { make: string; model: string; mileage?: number; - options: Record; + options: Map; condition: VehicleState; parts: Part[]; spareParts: Part[]; @@ -132,6 +132,8 @@ It correctly converts the following C# types to the equivalent typescript: * Optional * virtual * abstract +* Dictionary +* IDictionary ## Notes diff --git a/Source/MTT/ConvertService.cs b/Source/MTT/ConvertService.cs index 732dd7f..8ab53be 100644 --- a/Source/MTT/ConvertService.cs +++ b/Source/MTT/ConvertService.cs @@ -349,7 +349,7 @@ private void BreakDown() LineObject obj = new LineObject() { VariableName = varName, - Type = "Record", + Type = "Map", IsArray = false, IsOptional = isOptional, UserDefined = false, diff --git a/Source/MTT/MTT.csproj b/Source/MTT/MTT.csproj index f75ea27..8d7eba8 100755 --- a/Source/MTT/MTT.csproj +++ b/Source/MTT/MTT.csproj @@ -8,7 +8,7 @@ tasks - 0.6.4 + 0.6.5