Closed DeedleFake closed 4 years ago
Thx for reporting. Known issue and it's hard to fix.
Please stay tuned.
P.S. PR are very welcome.
Extra: in this example:
const Container = ({ message: string }): JSX.Element => (
<div>{message}</div>
);
Running :JsDoc
would generate this:
/**
* Container
*
* @param {string})} {message
* @returns {JSX.Element => (}
*/
A more desirable output would be:
/**
* Container
*
* @param {string} message
* @returns {JSX.Element}
*/
@malakada Thx. Yes, currently jsdoc.vim does not works perfectly. But Now I'm planning to rewrite jsdoc.vim complety new(ver 2).
ver2 will be able to parse complex types.
2.0.0 was released
Running
:JsDoc
onproduces the comment