Hi @WebStormIDE I can't seem to find a way to have:
/// <reference types="..." />
working on a #JavaScript project? The goal is like with other IDE's
to have definitions available for types that are not expected to be imported on my script...
Sorry, we still didn't get it :( Can you please share an example showing these 2 instances and what exactly works not as expected? Thank you!
-
-
Ok here's the basic project: https://github.com/reactiverse/es4x/tree/develop/examples/simple … And a screenshot how vscode behaves vs WebStorm In my example the correct way is vscode and the inspection I get from WebStorm is not correct. "vertx" is a global and it's defined on the "es4x.d.ts"pic.twitter.com/S3CVF00TCN
-
Thanks for sharing a sample project. Please follow this issue for updates: https://youtrack.jetbrains.com/issue/WEB-42699 In the meantime, you can disable the warning - press Alt-Enter, then arrow right, Disable inspection.pic.twitter.com/71h5UVyCmk
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.