CHAPTER 3

image

Working with TypeScript

So now you’re up to speed with the new syntax and language features of TypeScript, it’s time to put them to use and include TypeScript in your own projects. In this chapter, you’ll look at how to get the most from the compiler and then how to include TypeScript in your Visual Studio projects.

The Compiler

Thus far, your interaction with the compiler has been to watch Visual Studio use it in the background when you’ve asked it to build your sample projects. In this section, you’ll look at how to use it manually so you can tweak its operation if necessary. The Web Essentials Options dialog box for TypeScript support ...

Get TypeScript Revealed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.