Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP committed Apr 2, 2024
1 parent 0fe1775 commit 676f192
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Kiota.Builder/Refiners/TypeScriptRefiner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1103,11 +1103,6 @@ protected static void AddEnumObject(CodeElement currentElement)
}
CrawlTree(currentElement, AddEnumObject);
}
protected static IEnumerable<CodeEnum> selectEnums(IEnumerable<CodeProperty> props)
{
return props.Select(static x => x.Type).OfType<CodeType>().Select(static x => x.TypeDefinition).OfType<CodeEnum>();
}

protected static void AddEnumObjectUsings(CodeElement currentElement)
{
if (currentElement is CodeProperty codeProperty && codeProperty.Kind is CodePropertyKind.RequestBuilder && codeProperty.Type is CodeType codeType && codeType.TypeDefinition is CodeClass codeClass)
Expand Down

0 comments on commit 676f192

Please sign in to comment.