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

Posted on March 24, 2022

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)"
to join this conversation on Samprix.Already have an account? Sign in to comment