How to Change the Version of TypeScript Compiler in VSCode
By default, VSCode uses its own TSC (TypeScript Compiler), which is usually not the latest version of TypeScript. To enable the latest features, we'll need to install TypeScript in our package's dependencies and select the version from node_modules in VSCode (.vscode/settings.json).