Skip to content

Commit 8c142d0

Browse files
authored
Merge pull request #134 from nenoNaninu/fix_return_doc_comment
fix returns JSDoc generation
2 parents d1e57b4 + 94d2ab3 commit 8c142d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TypedSignalR.Client.TypeScript/InterfaceTranspiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ private static void WriteJSDocMethodReturn(IMethodSymbol methodSymbol, XmlDocume
233233

234234
if (returnSummaryLines.Length == 1)
235235
{
236-
codeWriter.AppendLine($" * @returns {returnSummaryLines} (Transpiled from {methodSymbol.ReturnType.ToDisplayString()})");
236+
codeWriter.AppendLine($" * @returns {returnSummaryLines[0]} (Transpiled from {methodSymbol.ReturnType.ToDisplayString()})");
237237
return;
238238
}
239239

0 commit comments

Comments
 (0)