Sometimes, we want to generate a tsconfig.json file with TypeScript.
In this article, we’ll look at how to generate a tsconfig.json file with TypeScript.
How to generate a tsconfig.json file with TypeScript?
To generate a tsconfig.json file with TypeScript, we run  tsc --init.
We type
tsc --init
in the command line after we switched to the TypeScript project folder to create a tsconfig.json file.
Conclusion
To generate a tsconfig.json file with TypeScript, we run  tsc --init.
