Question Solution
TypeScript adds syntax on top of JavaScript, allowing developers to add types. TypeScript allows specifying the types of data being passed around within the code, and has the ability to report errors when the types don't match.
Compiling TypeScript: tsc yourFileName.ts -> it compile the TS file into a JS file
Running the JavaScript: node yourFileName.js
Using TypeScript with a Project: For larger projects, it's common to use a tsconfig.json file to configure TypeScript settings. This file specifies compiler options, file globs, and other settings for the project.