Hiding all overloads also hides the main function #2122
Labels
bug
Functionality does not match expectation
needs reproduction
Needs a minimal reproducible case - https://gist.github.com/Rich-Harris/88c5fc2ac6dc941b22e7996af05d
Search terms
@hidden
, overloadExpected Behavior
#1142 adds the ability to apply
@hidden
to only some overloads without hiding all of them. I'd expect that I can apply@hidden
to all of the overloads except for the original function and still be able to see the original, non-overloaded function.Actual Behavior
Typedoc hides the function when all the overloads are hidden
Steps to reproduce the bug
MRE: https://tsplay.dev/w1An8w
Notice how all overloads are marked with
@hidden
, but the original function is not. Typedoc hides this entire function from the docs, when I'd expect it to still show the combined method.Environment
0.23.22
4.8.4
16.17.1
The text was updated successfully, but these errors were encountered: