Allow omission of type in returns tag
tmcw opened this issue · 2 comments
tmcw commented
Currently doctrine permits syntax like
/**
* @param foo - this is a param
*/
But not the same for return values
/**
* @returns foo - this is a return value
*/
Having both tags with optional type annotations would be great since the type annotations can often inferred by Flow/TS.
nzakas commented
Does JSDoc support typeless returns currently?
tmcw commented