Post(s) tagged VS Code

How to exclude Typescript build .js, files from the project on VS Code

You can exclude the Typescript build .js from VS Code using the below steps.
Add the below code to .vscode folder settings.json file, this will exclude .js and.js when the typescript file present for the corresponding .js and file

    "files.exclude": {
        "**/*.js": {
            "when": "$(basename).ts"
        "**/*": {
            "when": "$(basename)"

Posted on March 24, 2022