O'Reilly logo

Learning Angular for .NET Developers by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring TypeScript compiler options

We need to inform Visual Studio about the compiler options required to compile TypeScript for our application to consume when it is running. With the help of a TypeScript configuration file, we can configure the compiler options and other details using the following steps:

  1. Let's add TypeScript Configuration File by right-clicking on the project and navigating to Add | New Item in the menu, leaving the filename to default, as shown in this screenshot:
Adding the TypeScript configuration file

A file named tsconfig.json will be added to the project root directory.

  1. Replace the content of the TypeScript ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required