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
When using "entryPointStrategy": "packages" in a monorepo where one package re-exports something from another one, links to definition are not correctly resolved:
Additionally, the extends clause links to the re-exported definition instead of the imported one (idk if this is expected, though):
Expected Behavior
Links to definition are correctly resolved, and extends links to the original definition
Actual Behavior
Links to definition are not correctly resolved, and extends links to re-exported definition
Thanks for the repro! This appears to be the same issue as #2416 for your first issue, so I'm going to track that over there.
The cross-package re-export issue unfortunately I do consider to be working as intended. There isn't a good way for TypeDoc to track that a symbol has been exported from another package, particularly since packages mode is really designed to be a thin wrapper around rendering each package to JSON and then merging the packages.
I'd recommend changing the configuration for packages/outer to be:
Search terms
When using
"entryPointStrategy": "packages"
in a monorepo where one package re-exports something from another one, links to definition are not correctly resolved:Additionally, the
extends
clause links to the re-exported definition instead of the imported one (idk if this is expected, though):Expected Behavior
Links to definition are correctly resolved, and
extends
links to the original definitionActual Behavior
Links to definition are not correctly resolved, and
extends
links to re-exported definitionSteps to reproduce the bug
TypeStrong/typedoc-repros#33
Environment
The text was updated successfully, but these errors were encountered: