We have a container object for our custom classes, but JSDoc doesn't seem to like my notation for these types and comments them with
"invalid type syntax".
I am using PHP-Storm.
My JSDoc is according to this principle:
/** @type {Container['3rd'].className} */
When I change the annotation to this it seems to be valid since the comment disappears:
/** @type {Container.3rd.className} */
Why is the first property accessor syntax not considered valid in JSDoc? The accessor using brackets is valid otherwise in Javascript code so why not in jsdoc annotations?