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
{{ message }}
Repository navigation
What's the proper way to use inheritDoc with a 3rd party module + path? #438
import type { WindowIDData } from "atop-sdk/resources/index.js";
/**
* The window data containing window-specific information.
*/
export type WindowCreateData = WindowIDData;
I've tried:
/**
* The window data containing window-specific information.
* {@inheritDoc atop-sdk/resources/index.js#WindowIDData:interface}
*/
export type WindowCreateData = WindowIDData;
But that doesn't seem to be recognized by the parser I'm using (via docusaurus-plugin-typedoc which uses typedoc-plugin-markdown under the hood):
[warning] Declaration reference in @inheritDoc for WindowCreateData was not fully parsed and may resolve incorrectly
[warning] Failed to find "atop-sdk/resources/index.js#WindowIDData:interface" to inherit the comment from in the comment for WindowCreateData
May I ask what I am doing incorrectly? WindowIDData would be an interface. Not sure if it's a bug in the parser I'm using or if I'm not specifying the reference correctly.
TypeDoc does not support the old style declaration references which you're trying to use there, docs
What that link should be is dependent on a few things. Given that you're using it for inheritDoc, TypeDoc requires that your site also include documentation for that module. It won't just go retrieve docs from undocumented modules...
Activity
Gerrit0 commentedon Mar 5, 2025
TypeDoc does not support the old style declaration references which you're trying to use there, docs
What that link should be is dependent on a few things. Given that you're using it for inheritDoc, TypeDoc requires that your site also include documentation for that module. It won't just go retrieve docs from undocumented modules...
theogravity commentedon Mar 5, 2025
Do you mean the 3rd party type needs to be exported from the package I'm working on for it to be recognized?
Gerrit0 commentedon Mar 5, 2025
Yes, that's correct