There is an option to exclude generated files with the \"when\" keyword, .e.g:
\"files.exclude\": { \"**/*.js\": { \"when\": \"$(basename).ts\"}, }
Try this:
"**/*.js": { "when": "$(basename).ts"}, "**/*?.js": { "when": "$(basename).tsx"}
Source: Microsoft/vscode#1214