In the in-browser client, you can configure the compiling of TypeScript to JavaScript.

Based on the in-browser client settings, AppBuilder will recompile TS files to their corresponding JS files when you save changes to a TS file, before building the app, and before running the app in the simulator.

Click the cogwheel icon and select Options.

In the sidebar, click Code Editor.

To enable or disable automatic compilation on save, use the Compile TypeScript files on save check box.

To enable or disable automatic compilation before build, use the Compile TypeScript files before build check box.

To enable or disable automatic compilation before running the simulator, use the Compile TypeScript files before running the simulator check box.

You can add a tsconfig.json file in the root of your app. With this file, you can configure multiple compiler options for TypeScript.

In the universal desktop client, you can configure the compiling of TypeScript to JavaScript.

Based on the universal desktop client settings, AppBuilder will recompile TS files to their corresponding JS files when you save changes to a TS file, before building the app, and before running the app in the simulator.

Click the cogwheel icon and select Options.

In the sidebar, click Code Editor.

To enable or disable automatic compilation on save, use the Compile TypeScript files on save check box.

To enable or disable automatic compilation before build, use the Compile TypeScript files before build check box.

To enable or disable automatic compilation before running the simulator, use the Compile TypeScript files before running the simulator check box.

You can add a tsconfig.json file in the root of your app. With this file, you can configure multiple compiler options for TypeScript.

To develop with TypeScript in this version of the extension for Visual Studio, verify that you have installed TypeScript 1.5.2 for Visual Studio or a later stable TypeScript 1.x for Visual Studio release. To develop Angular 2 applications, verify that you are running Microsoft Visual Studio 2015 or later with TypeScript 2.0 or later installed.

In the extension for Visual Studio, you can configure the compiling of TypeScript to JavaScript.

Based on the extension for Visual Studio settings, AppBuilder will recompile TS files to their corresponding JS files before building the app, running it in the simulator, or synchronizing it with the cloud.

Open your TypeScript project.

In the main menu bar, select AppBuilder → Options.

Navigate to the General tab.

Select TypeScript.

To enable or disable automatic compilation, use the Compile TypeScript files before build-, simulator-, and sync-with-cloud-related operations. check box.

In the extension for Visual Studio 2013, you can configure multiple TypeScript settings such as ECMAScript version, compilation settings, output settings, module system and others.

Verify that you are running Microsoft Visual Studio 2013.

Open your TypeScript project.

In the Solution Explorer, double-click Properties.

Navigate to the TypeScript Build tab.

Configure the listed TypeScript settings.

Save your changes.

In Microsoft Visual Studio 2013, if you have the Do not emit outputs if any errors are reported option set to true, TS to JS compilation will fail for every TypeScript file containing errors or warnings.

In the extension for Visual Studio 2015, you can configure multiple TypeScript settings by editing the tsconfig.json file directly.

Verify that you are running Microsoft Visual Studio 2015.

Open your TypeScript project.

Locate the tsconfig.json file and open it.

Make the necessary modifications.

Save your changes.

In Microsoft Visual Studio 2015, if you have the "noEmitOnError": true compiler option in your tsconfig.json file, TS to JS compilation will fail for every TypeScript file containing errors or warnings.

If you do not have the "sourceMap": true or the "inlineSourceMap": true compiler option in your tsconfig.json file, you will not be able to debug your TypeScript sources using the Microsoft Visual Studio built-in debug tools.

To develop with TypeScript in this version of the command-line interface, you can use your preferred code editor with TypeScript support. During build and build-related operations, the command-line interface automatically compiles your TypeScript code to JavaScript. You need to manually reference the resulting JavaScript file in your index.html.