diff --git a/Rest.Net/Rest.Net.csproj b/Rest.Net/Rest.Net.csproj index 16512bb..c84b907 100644 --- a/Rest.Net/Rest.Net.csproj +++ b/Rest.Net/Rest.Net.csproj @@ -17,7 +17,7 @@ MontoyaTech.Rest.Net MontoyaTech.Rest.Net True - 1.5.1 + 1.5.2 Logo_Symbol_Black_Outline.png diff --git a/Rest.Net/RestJavascriptClientGenerator.cs b/Rest.Net/RestJavascriptClientGenerator.cs index 8edcedb..961c396 100644 --- a/Rest.Net/RestJavascriptClientGenerator.cs +++ b/Rest.Net/RestJavascriptClientGenerator.cs @@ -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();