Skip to content

Promise generics show with object (dot) notation #276

@jjeff

Description

@jjeff

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    more infoMore info required to reproduce

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions