I have a project with the following (shortened) structure.
.
├── app
│ ├── app.css
│ ├── app.js
│ └── home
│ ├── home.css
│ ├── home.html
In the meantime (after hours of struggling) I came across my own solution.
Simply set the compiler option allowJs to true in tsconfig.json and save.
{
"compilerOptions": {
"target": "ES5",
"module": "commonjs",
"allowJs": true
}
}
This is obviously a bug because it´s default is true according to the docs. I´ve posted this issue additionally on github.