One clean rule
Set up TypeScript as a project tool, not a global shortcut. Keep it in devDependencies, commit the config, and run it through npm scripts.
This makes your repo work on your laptop, your teammate’s laptop, and a recruiter’s machine.
What setup means
TypeScript needs two things: the TypeScript package and a tsconfig.json file. The package gives you the compiler. The config tells it what files to read and how strict to be.
In this lesson, you will not convert every file yet. You will prepare the project so later lessons can add types safely.