Skip to content

Commit

Permalink
Merge branch 'main' into shims
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman authored Nov 7, 2024
2 parents 269c943 + c724012 commit c52d35d
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 @@ -692,7 +692,6 @@ currentInterface.StartBlock is InterfaceDeclaration interfaceDeclaration &&
}
CrawlTree(currentElement, AliasUsingsWithSameSymbol);
}
private const string GuidPackageName = "guid-typescript";
private const string AbstractionsPackageName = "@microsoft/kiota-abstractions";
// A helper method to check if a parameter is a multipart body
private static bool IsMultipartBody(CodeParameter p) =>
Expand Down Expand Up @@ -840,7 +839,7 @@ private static void CorrectMethodType(CodeMethod currentMethod)
{"Guid", (string.Empty, new CodeUsing {
Name = "Guid",
Declaration = new CodeType {
Name = GuidPackageName,
Name = AbstractionsPackageName,
IsExternal = true,
},
IsErasable = true, // the import is used only for the type, not for the value
Expand Down

0 comments on commit c52d35d

Please sign in to comment.