Well, that’s interesting, because I use {String} in JSDoc notation everywhere with no warning or error markers (except for the String.match(regex) expression). For example:
Why does JSDoc accept {String} notation in some cases but not in others? If {String} is improper notation, why is it not flagged everywhere as a warning or error? Why does String.match(regex) appear to be a special case for JSDoc? I do not mind changing to the other notation, but I would like to know the reason for it.