Even if this is not the exact answer to your question, I recommend not to hide js files in a specific editor, but to organize the project so that the compiled code is separated from the source files. Usually in your project there are src and dist folders. To achieve this, you can use outDir in tsconfig.json .
source share