"Array" or "Object" or "new Date()" usage warns "Missing AMD module dependency"
What could be the problem?
And how to fix it?
WebStorm 2017.1
Build #WS-171.3780.79, built on March 17, 2017
Licensed to Tenzor LLC / jetbrains tensor
Subscription is active until March 12, 2018
JRE: 1.8.0_112-release-736-b13 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1
Please sign in to leave a comment.
can't recreate. What libraries do you have enabled? Please ctrl+click on 'Object' and 'Date' - what files are opened?
http://prntscr.com/fbkb9g
http://prntscr.com/fbkbso
There is our framework, but the standard "library" EcmaScript.js is also there
there is unfortunately no way to tell WebStorm what definition to prefer... I can suggest suppressing this inspection for statement (Alt+Enter, Right, Suppress for statement) or disabling it completely