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

[BUG] inputs are not inherited when alias is used #1427

Closed
marcincichocki opened this issue Dec 18, 2023 · 0 comments
Closed

[BUG] inputs are not inherited when alias is used #1427

marcincichocki opened this issue Dec 18, 2023 · 0 comments
Assignees
Milestone

Comments

@marcincichocki
Copy link

Overview of the issue

Inputs from base class are missing in the docucmentation when base class is imported as alias.

Operating System, Node.js, npm, compodoc version(s)

System:
OS: macOS 14.1.2
CPU: (12) arm64 Apple M2 Pro
Memory: 431.83 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn
npm: 9.6.6 - ~/.nvm/versions/node/v18.16.0/bin/npm
npmPackages:
@compodoc/compodoc: ^1.1.21 => 1.1.21

Angular configuration, a package.json file in the root folder

https://github.com/marcincichocki/compodoc-alias-bug

Compodoc installed globally or locally ?

locally

If possible sourcecode of the file where it breaks

no idea

If possible your terminal logs before the error

n/a

Motivation for or Use Case

We have current and legacy classes that are using aliases for due to compatibility reasons.

Reproduce the error

clone: https://github.com/marcincichocki/compodoc-alias-bug
run: npm run doc
inspect index.html and check inputs of a ChildComponent. There should be two: input1 and input2 (inherited). But there is only one.

Related issues
Suggest a Fix

Temporary workaround is to use alias in import to match internal, pre aliased name of a base class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants