Skip to content

TypeDoc fails on encountering an empty markdown file in the external documentation. #2638

@bladerunner2020

Description

@bladerunner2020

Search terms

external documents, markdown

Expected Behavior

run without error

Actual Behavior

fail to run

TypeDoc exiting with unexpected error:
TypeError: Cannot read properties of undefined (reading 'text')

Steps to reproduce the bug

  • create an empty markdown file
  • refer to it
/**
 * @module
 * @document empty.md
 */
export const a = 123;

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