Skip to content

TSDocEmitter emits @defaultValue in a weird way #426

Open

Description

When parsing a comment like this:

/** @defaultValue value */

and printing the parsed docComment using TSDocEmitter it will create this output:

/**
 * @defaultvalue
 *
 * value
 */

While this seems to be still working with IDEs it is quite ugly.

I think this can be fixed by using the same handling as with @returns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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