Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP committed Apr 1, 2024
1 parent 4023461 commit 0fe1775
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Kiota.Builder/Refiners/TypeScriptRefiner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Kiota.Builder.CodeDOM;
using Kiota.Builder.Configuration;
using Kiota.Builder.Extensions;
using Microsoft.Kiota.Http.HttpClientLibrary;

namespace Kiota.Builder.Refiners;
public class TypeScriptRefiner : CommonLanguageRefiner, ILanguageRefiner
Expand Down Expand Up @@ -1142,7 +1141,7 @@ protected static void AddEnumObjectUsings(CodeElement currentElement)
});
}
}
CrawlTree(currentElement!, AddEnumObjectUsings);
CrawlTree(currentElement, AddEnumObjectUsings);
}

private static void ProcessModelClassProperties(CodeClass modelClass, CodeInterface modelInterface, IEnumerable<CodeProperty> properties, Func<CodeClass, string> interfaceNamingCallback)
Expand Down

0 comments on commit 0fe1775

Please sign in to comment.