-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@interface
type references do not always link correctly.
#2508
Comments
Initial investigation here indicates that TypeDoc is doing the right thing. Tossing that into https://ts-ast-viewer.com, clicking on TypeScript obviously knows what the type should be named here though, so I've asked in the #ts-compiler-api channel on the TS discord, maybe one of the TS devs will tell me what incantation is necessary to extract this info. |
TypeDoc's type convert doesn't appear to always capture symbols related to types when converting references.
Search terms
zod, type reference, inferred type
Expected Behavior
The produced
Bar
interface should have a member whose type isColor
, which is linked to the enum.Actual Behavior
The produced
Bar
interface contains a member whose type isColor
, without a link to theColor
enum.Steps to reproduce the bug
Environment
The text was updated successfully, but these errors were encountered: