Grunt syntax Gruntfile.js not recognized by Webstorm
Not all of the Grunt-related syntax in my Gruntfile.js is recognized. For example:
grunt.initConfig <-- throws an error: Unresolved method or function initConfig()
The grunt command executes nonetheless, however, the "details"-link in the Grunt-explorer is dead.
Please see screenshot for details.

Please sign in to leave a comment.
please try installing grunt typings (
.d.tsfile) - this can be done in Preferences | Languages & Frameworks | JavaScript | Libraries: press Download..., typegruntin Download Libraries dialog to locate it.see https://www.jetbrains.com/help/phpstorm/configuring-javascript-libraries.html#ws_jsconfigure_libraries_ts_definition_files