jsdoc-to-markdown icon indicating copy to clipboard operation
jsdoc-to-markdown copied to clipboard

Promise generics show with object (dot) notation

Open jjeff opened this issue 2 years ago • 1 comments

I'm using jsdoc-to-markdown to generate the README file for electron-playwright-helpers. However the JSDoc definitions for returned Promise generics such as @returns {Promise<boolean>} leads to output which resembles this: => Promise.<boolean> note the "." before the bracket.

Is this a bug? Is there a way to remove the dot?

I've also added the @filfil and @reject values, but they're still not as clear as functionName(arg) => Promise<boolean> as a summary.

jjeff avatar Feb 27 '22 19:02 jjeff