Unresolved variable length - for an array
Can anyone give me a clue for this one? The inspector is giving me "Unresolved variable length" for an Array. (WebStorm 9.0)
/**
* @param {Array} lines
* @returns {number}
*/
function count(lines) {
return lines.length; <------
}Please sign in to leave a comment.
I found that if I remove the javascript library "angularjs-DefinitelyTyped" the inspector no longer gives this warning.
It is curious that we are testing WebStorm 2019.3.2 Preview and continue to have exactly the same incidence.
Thanks for sharing