typedoc-plugin-no-inherit icon indicating copy to clipboard operation
typedoc-plugin-no-inherit copied to clipboard

seems to stop working with extra interface declaration

Open Zvicii opened this issue 2 years ago • 2 comments

"devDependencies": {
    "@types/node": "^16.10.5",
    "@typescript-eslint/eslint-plugin": "^5.13.0",
    "@typescript-eslint/parser": "^5.13.0",
    "bluebird": "^3.7.2",
    "cmake-js": "^6.2.1",
    "eslint": "^7.32.0",
    "mocha": "^9.1.1",
    "node-addon-api": "^4.3.0",
    "nyc": "^15.1.0",
    "typedoc": "^0.22.13",
    "typedoc-github-wiki-theme": "^1.0.0",
    "typedoc-plugin-markdown": "^3.11.14",
    "typedoc-plugin-no-inherit": "^1.3.1",
    "typescript": "^4.3.5",
    "typescript-eslint": "0.0.1-alpha.0"
  },

command:

npx typedoc

output:

Info: Loaded plugin typedoc-plugin-markdown
Info: Loaded plugin typedoc-github-wiki-theme
Info: Loaded plugin typedoc-plugin-no-inherit.
Info: Documentation generated at ./doc

Zvicii avatar Apr 01 '22 10:04 Zvicii

My testing still has correct output. Do you have a small project where this can be reproduced?

jonchardy avatar Apr 01 '22 12:04 jonchardy

It seems that if I add extra interface declaration, it would stop working.

import ev from 'events';
/**
 * Documentation for the Dog class.
 * @noInheritDoc
 */
export declare interface Test {
    on(event: 'event', listener: () => void): this;
}
/**
 * Documentation for the Dog class.
 * @noInheritDoc
 */
export class Test extends ev.EventEmitter {
    constructor() {
        super();
    }
}

Zvicii avatar Apr 02 '22 02:04 Zvicii