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

Functions appear more than once if @category were annotated #1522

Labels
bug Functionality does not match expectation

Comments

@JasonHK
Copy link

JasonHK commented Mar 2, 2021

Search terms

@category

Expected Behavior

Functions should appear once only in the following cases:

interface Callable
{
    (payload: number): string;
    (payload: string): number;
}

/**
 * @category Callable
 */
export declare const callable: Callable;
/**
 * @category Callable
 */
export declare function callable(payload: number): string;

/**
 * @category Callable
 */
export declare function callable(payload: string): number;

Actual Behavior

2021-03-02_00001
2021-03-02_00002

Steps to reproduce the bug

Please refer to the code snippets above.

Environment

  • Typedoc version: 0.20.28
  • TypeScript version: 4.1.5
  • Node.js version: 14.15.5
  • OS: Kubuntu 20.04
@JasonHK JasonHK added the bug Functionality does not match expectation label Mar 2, 2021
@Gerrit0 Gerrit0 closed this as completed in 6949a1f Mar 6, 2021
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Mar 6, 2021

Fixed in 0.20.30

This was referenced Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment