Skip to content

commonjs default export doesn't work #1476

@hugomrdias

Description

@hugomrdias

Search terms

Expected Behavior

commonjs default export could be merged with the named exports namespace and listed in the nav with some kinda of sign just to tell the users which are named and default.

Actual Behavior

commonjs default shows up has export= and any other types or exports are not resolved. Check example 1 below

Steps to reproduce the bug

  1. https://codesandbox.io/s/typedoc-test-w69ry?file=/src/index.js

  2. https://codesandbox.io/s/typedoc-test-w69ry?file=/src/named.js

Environment

  • Typedoc version: 0.20.16
  • TypeScript version: 4.1.3
  • Node.js version: 14
  • OS: all

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