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

0.23.0 retrieves the wrong comment if a declaration has more than one #1961

Closed
Gerrit0 opened this issue Jun 26, 2022 · 0 comments
Closed

0.23.0 retrieves the wrong comment if a declaration has more than one #1961

Gerrit0 opened this issue Jun 26, 2022 · 0 comments
Labels
bug Functionality does not match expectation

Comments

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jun 26, 2022

Expected Behavior

With the following code, TypeDoc should take the second comment.

/** x */

/**
 * @class WithDocs1
 *
 * This is a different class.
 */
export class WithDocs1 {}

Actual Behavior

TypeDoc uses the x comment.

Environment

  • Typedoc version: 0.23.0
  • TypeScript version: 4.6.3
  • Node.js version: 16.13.0
  • OS: Windows
@Gerrit0 Gerrit0 added the bug Functionality does not match expectation label Jun 26, 2022
@Gerrit0 Gerrit0 changed the title 0.23.0 retrieves the wrong comment 0.23.0 retrieves the wrong comment if a declaration has more than one Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

1 participant