fix(theme): prevent empty Type Parameters heading and don't appear in callable interface#183
Conversation
… callable interface
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Would you mind updating our type generator to not waltz around TypeScript and just output an opening bracket ( |
|
that should fix all our issues, since we won't need to reconstruct the types with our own emitter, and we can just rely on typedoc (right?) |
avivkeller
left a comment
There was a problem hiding this comment.
In the mean time, LGTM. Feel free to do my suggestion here or in a follow-up, thank you!
Awesome, Thanks for your hard work 🤍 I'll open a follow-up to isolate things :) |
Summary
TypeDoc stores the function arguments of a Callable Interface inside the
typeParametersproperty, that makes no sense as it should underCall Signatureheading (if it has multiple signatures) notType Parametersheading.This PR solves that and prevent empty Type Parameters heading.
Before:
After: