Open fracmak opened 8 years ago
jsdoc correctly validates simple short hand arrow functions as such:
/** @param {String} xxx */ var funcName = xxx => xxx + 1;
but fails when you add a function signature into the mix
/** @param {String} xxx */ var funcName = xxx => xxx.then(a => a + 1);
with the error message Expected a but got xxx
Expected a but got xxx
jsdoc correctly validates simple short hand arrow functions as such:
but fails when you add a function signature into the mix
with the error message
Expected a but got xxx