Skip to content

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

@marcincichocki

Description

@marcincichocki
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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy