Now that everything is set up with npm, we can turn our focus to TypeScript.
Typically, the first thing to do in any TypeScript project is to create the compiler configuration file. So, indeed, at this point, you need to be aware of the fact that the TypeScript compiler can be configured through a file called tsconfig.json. The presence of a tsconfig.json file in a folder tells TypeScript that the folder is the root of a TypeScript project.
Through tsconfig.json, you can precisely configure the compiler, adapting it to your project and its specific needs.
To get started, create a default configuration file using npm run compile -- --init.