Skip to content

[BUG] Failed to pickup Components declaration with double layer spread[BUG] #979

@rexebin

Description

@rexebin
Overview of the issue

Components and providers declared with below structure are not showing in the module structure.
If no spread operations in components or providers array, compodoc works perfectly.

const components = [
  ...productComponents,
  ...serviceComponents,
];

const providers = [  
  ...productProviders,
  ...serviceProviders
];

@NgModule({
   ...
  declarations: [...components],
  providers: [...providers]
})

No error. Components are not linked to their parent module, which make the structure of generated doc very messy and less useful.

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

"@compodoc/compodoc": "^1.1.11"
Windows 10, node v 12.13.1, npm v 6.13.4, yarn v1.22.4

Metadata

Metadata

Assignees

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