I have the following settings.json
{
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/*.js": { "when": "$(basename).tsx" }
}
}
I would like to exclude generated .js files produced by .ts and .tsx files. Is there a syntax to specify both .ts and .tsx in the when?