Skip to content

Commit

Permalink
Merge pull request #134 from nenoNaninu/fix_return_doc_comment
Browse files Browse the repository at this point in the history
fix returns JSDoc generation
  • Loading branch information
nenoNaninu authored Sep 10, 2023
2 parents d1e57b4 + 94d2ab3 commit 8c142d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TypedSignalR.Client.TypeScript/InterfaceTranspiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ private static void WriteJSDocMethodReturn(IMethodSymbol methodSymbol, XmlDocume

if (returnSummaryLines.Length == 1)
{
codeWriter.AppendLine($" * @returns {returnSummaryLines} (Transpiled from {methodSymbol.ReturnType.ToDisplayString()})");
codeWriter.AppendLine($" * @returns {returnSummaryLines[0]} (Transpiled from {methodSymbol.ReturnType.ToDisplayString()})");
return;
}

Expand Down

0 comments on commit 8c142d0

Please sign in to comment.