After implementing the code snippet provided, I am encountering an issue where the annotator is indicating that BrowserSelector
is not defined in the second typedef:
/**
* @typedef {{name: String, minVer: Number, maxVer: Number}} BrowserSelector
*/
/**
* @typedef {{type:String, browser: BrowserSelector, attribute: Object}} Selector
*/
It seems like there may be a mismatch between the type and the name. Is there a way to properly associate them without altering the actual code, only through jsdoc comments?