re-open #111 (2015) every single class in project is NOT named default
#1993
Labels
wontfix
Declining to implement
default
#1993
Search terms
This issue is previously defined as #111
export default class Anything
.Expected Behavior
it should use name given to default exports instead of having multiple
default
identifiers. I do not care if it uses the name assigned to it in theimport
declaration or the name given in theexport default
binding (although the former makes most sense to me).It's very common in enterprise/OO codebases for each file to have a single
export default class UsefulName { ... }
however with typedoc literally everything will be calleddefault
and thus the generated documentation will be almost uselessActual Behavior
it uses multiple ambiguous
default
identifiers.Steps to reproduce the bug
self explanatory
Environment
Note that I'm targeting esm and import statements end with
.js
because typescript is poorly designed, not sure if that's relevantThe text was updated successfully, but these errors were encountered: