I want to load game from local storage and I am getting weird warning. It works, but I like my code clean.
var save = JSON.parse(localStorage.getItem('save000'));
var playerLocation = save[1].playerLocation;
.playerlocation is underlined and I see warning unresolved variable playerLocation
This question is not a duplicate because save variable is not declared in the function signature, but is generated based on local storage. I can only declare JSDoc variables that are declared in the function signature.