I suddenly have an annoying and puzzling problem that I didn’t have before.
I use VS Code and TypeScript (but no Angular).
Suddenly, VS Code has started to report TypeScript “errors” that aren’t really errors…
As you can see, it is reporting the “error” to be INSIDE the
platforms\android\src\main\assets\app directory. Red squiggly line under “
application”, indicating that module “application” is not found.
The actual TypeScript file in my
app directory however, doesn’t show this error:
And, strangely enough, compilation (I use LiveSync from the command line) works fine!
VS Code is configured (
.vscode\settings.json) to not show
node_modules directories, and TypeScript is configured (
tsconfig.json) to not compile
How do I make VS Code / TypeScript not report “errors” on files inside the