Skip to content

Documentation not rendered for optional interface methods #1490

@jnordberg

Description

@jnordberg

Search terms

Optional method, function, interface declaration, missing, not working

Expected Behavior

Should render the docstrings for optional methods in an interface

Actual Behavior

Does not render

Screen Shot 2021-01-31 at 13 30 12

Steps to reproduce the bug

interface MyThing {
  /** This is documented. */
  doThing(): void
  /** This isn't. */
  doAnotherThing?(): void
}

Environment

  • Typedoc version: 0.20.19
  • TypeScript version: 4.1.3
  • Node.js version: v15.4.0
  • OS: macOS 11

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