Olá Heverton, tudo bom?
Acho que essa resposta do link que você compartilhou pode ajudar:
When using Visual Studio Code, building the project (i.e. pressing Ctrl + Shift + B), moves your .ts file into the .vscode folder (I don't know why it does this), then generates the TS18003 error. What I did was move my .ts file out of the .vscode folder, back into the root folder and build the project again.
The project built successfully!
`
Tenta separar os arquivos do diretório de configuração