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!