Skip to content

Emit JSDoc-style comments #110

@danmarshall

Description

@danmarshall

Hello, thanks for this project 👍
One thing I would like to have is the JsDoc comments associated with a declaration:

/**  * A meaningless declaration.  */ const hello = "world";

current result:

VariableDeclaration { name: 'hello', isConst: true, isExported: false, type: undefined, start: 38, end: 60 } 

desired result:

VariableDeclaration { comment: '/**\n * A meaningless declaration.\n */', name: 'hello', isConst: true, isExported: false, type: undefined, start: 38, end: 60 } 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions