Syntax
TypeScript Create a tsconfig Syntax
In TypeScript, create a tsconfig: creates a tsconfig.json with default settings — tsc --init
Quick Answer
- Syntax
tsc --init
TypeScriptSyntax
Create a tsconfig
Creates a tsconfig.json with default settings.
How to create a tsconfig in TypeScript
- Open your TypeScript file or editor.
- Copy the example, then replace its sample names and values for your code.
TypeScript Create a tsconfig Syntax
Use tsc --init.
Related Syntax References
Frequently asked questions
What is the TypeScript syntax for create a tsconfig?
Use this pattern: tsc --init
Can I copy this TypeScript code example?
Yes. Use Copy code and adapt the example to your program.
Is this TypeScript syntax different on Mac or Windows?
No. The language syntax is the same across operating systems.
Official source · How we verify