After successfully installing VS Code on my Windows 10 system, I decided to follow the instructions provided here.
Upon completion, Node and NPM were also installed correctly. However, I noticed a gap in the setup instructions between installing TypeScript with NPM and actually configuring it for use. How do I go about setting up TypeScript once it's installed on my Windows machine?
My main goal is to have VS Code detect and highlight errors in real-time while typing, similar to how Intellisense works for the TypeScript language. For example, the code snippet should display issues and highlights that are currently missing.
let message: string = "hello world";
console.log("message");
type MyType = {
value: String;
}
let myvar: MyType = {
value: undefined
}
type MyFunction = () => void;
function myFunction<MyFunction>(value) {
value++;
}
While I appreciate VS Code, I have always found Microsoft documentation to be a bit challenging. Is there an online resource available that provides clear and current instructions on properly configuring TypeScript within VS Code?