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

seems to stop working with extra interface declaration #29

Open
Zvicii opened this issue Apr 1, 2022 · 2 comments
Open

seems to stop working with extra interface declaration #29

Zvicii opened this issue Apr 1, 2022 · 2 comments

Comments

@Zvicii
Copy link

Zvicii commented Apr 1, 2022

"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
@jonchardy
Copy link
Owner

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

@Zvicii
Copy link
Author

Zvicii commented Apr 2, 2022

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 Zvicii changed the title seems to stop working with typedoc 0.22.13 seems to stop working with extra interface declaration Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants