We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62baca commit a44cbabCopy full SHA for a44cbab
scripts/tsgen/src/Parser.ts
@@ -445,6 +445,9 @@ export class Parser {
445
let obj = dom.create.function(doclet.name, null, returnType);
446
this.setParams(doclet, obj);
447
448
+ if (doclet.returns?.length)
449
+ obj.jsDocComment += `\n@returns ${doclet.returns[0].description}`
450
+
451
this.processGeneric(doclet, obj, obj.parameters);
452
453
this.processFlags(doclet, obj);
0 commit comments