The following JavaScript is saved into a file called test.js
iDontExist();
(this is the entire file)
VSCode doesn't show the highlights for the iDontExist function, which isn't imported or required anywhere.
How can I make VScode highlight the undefined function?
Note other Intellisense features (eg, inspecting imports) in JS files (not TS files) seem to work fine:


