Skip to content

Error when handlebars are in javascript comments #2063

@jorodi

Description

@jorodi

Some JavaScript/TypeScript libraries use JSDoc which uses {} in the comments to describe the tag's type.

Double handlebars are created when objects are used as a type. This is parsed and causes an error.

For example:

/**
 * @return {{s:string,n:number}}
 */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions