Skip to content

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

@JasonHK

Description

@JasonHK

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions