-
-
Notifications
You must be signed in to change notification settings - Fork 745
Closed
Labels
plugin ideaThis feature may be best suited for a pluginThis feature may be best suited for a pluginwontfixDeclining to implementDeclining to implement
Description
Search Terms
default exports
Problem
Currently, the name of default exports will be removed and renamed to default
, which could cause confusion like the screenshot below.
The default
of payload is default
is NOT the default export of this module.
Suggested Solution
If the default export is named (like function named() {...}
, class Named {...}
, const named = ...
, etc.), TypeDoc should retain its name and add a default
badge to indicate it's a default export. Any types that referencing it should use the original name as well, and not default
.
mixaildudin, jonathanfady, denis-migdal and NSNickie
Metadata
Metadata
Assignees
Labels
plugin ideaThis feature may be best suited for a pluginThis feature may be best suited for a pluginwontfixDeclining to implementDeclining to implement