Use JSDoc:
/**
* @param {{some_unres_var:string}} data
*/
function getData(data){
console.log(data.some_unres_var);
}
More Related Contents:
- How to import js-modules into TypeScript file?
- How to debug angular protractor tests in WebStorm
- How do I use WebStorm for Chrome Extension Development?
- Path aliases for imports in WebStorm
- Why I am not getting warnings about StrictNullChecks in typescript
- How can I fix WebStorm warning “Unresolved function or method” for “require” (Firefox Add-on SDK)
- Webstorm: “Cannot Resolve Directory”
- How can I run nodemon from within WebStorm?
- Document generic type parameters in JSDOC
- intellisense and code complete for DefinitelyTyped (TypeScript type definitions) on WebStorm IDE
- How do I convert an existing callback API to promises?
- JavaScript % (modulo) gives a negative result for negative numbers
- Javascript removeEventListener not working
- How can I convert string to datetime with format specification in JavaScript?
- Access ‘data-‘ attribute without jQuery
- Javascript: convert 24-hour time-of-day string to 12-hour time with AM/PM and no timezone
- Checking if image does exists using javascript [duplicate]
- Hide header in stack navigator React navigation
- What does _.debounce do?
- Performance of CSS Transitions vs. JS animation packages
- Is there any pre-built method for finding all permutations of a given string in JavaScript?
- Renaming files using node.js
- Multiple Ternary Operators
- Javascript – String concatenation [duplicate]
- How does the (function() {})() construct work and why do people use it?
- collapse and expand tabs jquery / simple accordion
- How to include local javascript on a Gatsby page?
- Remove value from object without mutation
- Rails 5/6: How to include JS functions with webpacker?
- How do I detect IE 8 with jQuery?