How to fight tons of unresolved variables warning in WebStorm?

Use JSDoc:

/**
 * @param {{some_unres_var:string}} data
 */
function getData(data){
    console.log(data.some_unres_var);
}

Leave a Comment