Sto usando codice ID studio visivo e dattiloscritto, come faccio a ignorare la cartella node_modules durante la compilazione? O hai creato i file .ts
al salvataggio? Mostra molti errori perché sta cercando di compilare node_modules tsd.Come ignorare la cartella `node_modules` durante la creazione di TypeScript in VSCode
Attualmente la mia tasks.json è
{
"version": "0.1.0",
// The command is tsc.
"command": "tsc",
// Show the output window only if unrecognized errors occur.
"showOutput": "silent",
// Under windows use tsc.exe. This ensures we don't need a shell.
"windows": {
"command": "tsc.exe"
},
"isShellCommand": true,
// args is the HelloWorld program to compile.
"args": [],
// use the standard tsc problem matcher to find compile problems
// in the output.
"problemMatcher": "$tsc"
}
Non funziona .... –