Skip to content

interface uses @group, class that implements it remains ungrouped #2459

Closed
@RobMayer

Description

@RobMayer

Search terms

@group interface class inherit implements

Question

I have an interface, like so

export interface IThing<T> {

    /**
     * Does a thing
     * @param {string} key The key to check.
     * @returns {boolean} True if the key exists, false otherwise
     * @category Query
     */
    has(key: string): boolean;
 }

and a class that implements it

export class ActualThing<T> implements IThing<T> {
    //...

    has(key: string): boolean {
        //...
    }

at present the methods within the IThing are grouped, but methods within the ActualThing are not, though all the documentation details are. Is there a way to have the class typedoc get grouped according to the interface without having to duplicate all the doc details?

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