There is an option to exclude generated files with the \"when\" keyword, .e.g:
\"files.exclude\": { \"**/*.js\": { \"when\": \"$(basename).ts\"}, }
These are my settings if they help. It is quite a mess in creating these. I think that a regexp would be great, but we live in hard times ....
"files.exclude": { "**/*.js": { "when": "$(basename).tsx"}, "**/*?.js": { "when": "$(basename).ts"}, "**/*.js.map": true }