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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.