jsdoc-to-markdown
jsdoc-to-markdown copied to clipboard
Support for TypeScript types inside JsDoc?
Is it somehow possible to convert JSDoc including the supported types by TypeScript?
For example:
/**
* appendChild.
* @param {Element} el
* @return {(...nodesOrStrings: (Node|string)[]) => void}
*/
export function append(el) {
return (...nodesOrStrings) => el.append(...nodesOrStrings);
}
I am getting the following error here:
JSDOC_ERROR: ERROR: Unable to parse a tag's type expression...
Thanks!
Did you find a solution?
No
is typescript even supported ? I dont see anything that enables generating docs for typescript files in the documentation. can you show how you are running it ? for me it says "JSDOC_ERROR: There are no input files to process" when I run it for typescript files
https://github.com/jsdoc2md/jsdoc-to-markdown/wiki/How-to-document-TypeScript