Closed stepancar closed 2 years ago
If @returns annotation doesn't have type it crashes with this error
(node:29113) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'dataType' of undefined at mergeReturns (/project/node_modules/@webdoc/parser/lib/transformer/merge-returns.js:13:
According https://jsdoc.app/tags-returns.html it is optional
Oops 👀. I'll try to fix this over the weekend
Were you running this on JavaScript files?
I can't reproduce this on my unit test :(
@SukantPal , could you please try '.js' file
If @returns annotation doesn't have type it crashes with this error
According https://jsdoc.app/tags-returns.html it is optional