Replies: 1 comment 5 replies
-
There's no such option yet. The recommended way is to document your type alias so that user can click on it and see its value, itself cross-referencing other type aliases it uses, etc. I'm not sure how to detect that Previous related discussion, for literals: #73. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an option to display the definition of a type alias instead of its name?
For instance, to render
Alias = str | None
asstr | None
instead ofAlias
where used in a signature.Beta Was this translation helpful? Give feedback.
All reactions