Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSDocEmitter emits @defaultValue in a weird way #426

Open
spike-rabbit opened this issue Sep 12, 2024 · 0 comments
Open

TSDocEmitter emits @defaultValue in a weird way #426

spike-rabbit opened this issue Sep 12, 2024 · 0 comments

Comments

@spike-rabbit
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant