Removed enum extends since it's not super helpful. Bumped package version to 1.5.2.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<AssemblyName>MontoyaTech.Rest.Net</AssemblyName>
|
||||
<RootNamespace>MontoyaTech.Rest.Net</RootNamespace>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
<Version>1.5.1</Version>
|
||||
<Version>1.5.2</Version>
|
||||
<PackageReleaseNotes></PackageReleaseNotes>
|
||||
<PackageIcon>Logo_Symbol_Black_Outline.png</PackageIcon>
|
||||
</PropertyGroup>
|
||||
|
@@ -237,8 +237,6 @@ namespace MontoyaTech.Rest.Net
|
||||
|
||||
if (!type.IsEnum && !(IsTypeDotNet(type.BaseType) && type.BaseType.Name == "Object"))
|
||||
writer.Write(" extends ").Write(this.GetTypeFullyResolvedName(type.BaseType));
|
||||
else if (type.IsEnum)
|
||||
writer.Write(" extends Number");
|
||||
|
||||
writer.WriteLine(" {").Indent();
|
||||
|
||||
|
Reference in New Issue
Block a user