vscode typescript setup code example
Example 1: how to install typescript in visual studio code
npm install -g typescript
Example 2: vsc typescript auto build on save
// tsconfig.json (compile tsc for update changes)
{
"compileOnSave": true,
"compilerOptions": {
"watch": true
}
}