Skip to content

@type {Array.<object>} breaks class documentation generation #1198

Closed
@tva-TIS

Description

@tva-TIS

The Documentation of a class is incomplete when having @type {Array.<object>} annotated to a property. @type {Array.<string>} does not break, but renders as @type{Array.}. Type Annotations may not be needed for TypeDoc anymore but may still be existend from JsDoc usage. TypeDoc does not throw an error to the console.

No duplicate issues found.

Expected Behavior

Typedoc should be able to handle the type annotation or at least continue with the other properties and methods.

Actual Behavior

To generate a documentation for the type annotation.

Steps to reproduce the bug

Have a property with annotation @type {Array.<object>} and generate TypeDoc documentation with any settings.

Environment

  • Typedoc version: 0.16.8
  • TypeScript verison: 3.7.5
  • Node.js version: v10.16.3
  • OS: Windows 10, 64-bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions