You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately... this is unfixable in the generic case. Fixing this specific case isn't too bad (0.20.13), but we rely on the type checker for getting the type of symbols... and the type checker doesn't preserve this information. Types may have a single aliasSymbol, but which type gets this symbol is determined by which alias is documented first... and once we have the type, we can't get back to the original declaration without a ridiculous amount of hackery.
Typedoc produces incorrect types in documentation when two type aliases are equivalent.
Example
This source produces documentation where the return type of the function
foo
isBar
. I expected the return type to beFoo
.This issue is new in 0.20.
Here's a repo with a reproducible example and resulting docs:
https://github.com/handerss-tibco/typedoc-alias-issue
https://handerss-tibco.github.io/typedoc-alias-issue/modules.html#foo
The text was updated successfully, but these errors were encountered: