Skip to content

Constructor property parameters are not documented when --excludeNotDocumented is on #1261

@judax

Description

@judax

Search Terms

constructor parameter property documentation

Problem

When using --excludeNotDocumented, a class that declares properties in the constructor the properties do not seem to be documented correctly even with @param.

class X {
  /**
   * Instantiates X.
   * @param prop The property of X.
   */
  constructor(readonly prop: number) {
  }
}

Suggested Solution

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