Skip to content

[BUG] Error when Component Metadata was imported. #94

@minhoryang

Description

@minhoryang
Overview of the issue

RangeError: Invalid array length

@Component(MyAgClickableParentComponentSchema)
export class AppUserDeleteClickableComponent extends MyAgClickableParentComponent {}
export const MyAgClickableParentComponentSchema = {
    template: `
        <button (click)="clicked()">{{ name }}</button>
    `,
};
Operating System, Node.js, npm, compodoc version(s)

Node.js v6.9.1
npm 4.0.2
compodoc 0.0.37

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

https://gist.github.com/minhoryang/942c6c8bd4e0507e296d417c80dda00f

Compodoc installed globally or locally ?

locally

npm install compodoc
Motivation for or Use Case
./node_modules/.bin/compodoc -p src/tsconfig.json
Reproduce the error

https://gist.github.com/minhoryang/942c6c8bd4e0507e296d417c80dda00f
includes

  • compodoc.log
  • related .ts files when RangeError: Invalid array length happened
Related issues

#11

Suggest a Fix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions