Multiple possible types and linking to them
E-geek opened this issue · 2 comments
E-geek commented
If a property or parameter may have to be one of several types, it would be desirable to specify them by "|" or ",". Example:
# @param {EventLogger|Logger} logger instance of Logger or EventLogger for logging
And need have a links to EventLogger
and Logger
if it's possible
inossidabile commented
It's specified in README that you should be then handling that via a comma. But I guess that's specifically links that you desire and we don't have indeed. I don't have much time to work on feature requests now unfortunately but you did handle the previous one very well yourself. Could it be another PR from you? :)
pmaselkowski commented
Separating by |
is standard in phpdocs, and seems to be standard in jsdocs too