How to document Union type in typescript so typedoc
can pull/show relevant info? This below is a JSDoc reference but is there one for TSDoc?
Example
/**
* Search parameters
* These comments are not picked up, I generate blank page
*/
export type SearchParams = string | string[][] | Record<string, string>;
/**
* Query parameters
* These comments are not picked up, I generate blank page
*/
export type QueryParams = SearchParams | Record<string, string | string[]>;
They are just picked up because of export but no info whatsoever was generated.
(docfx@2.56.6
, typedoc@0.19.2
, type2docfx@0.10.5
)
EDIT: Is there any way I can generate docs for these types using the tools above?