In this chapter, I show you how to use the TypeScript compiler, which is responsible for transforming TypeScript code into JavaScript that can be executed by browsers or the Node.js runtime. I also describe the compiler configuration options that are most useful for TypeScript development, including those that are used with the web application frameworks covered in Part 3 of this book.
5. Using the TypeScript Compiler
Adam Freeman1
(1)
London, UK
To prepare for this chapter, open a command prompt, navigate to a convenient location, and create a folder named tools. Run the commands shown in Listing 5-1 to navigate to the tools ...
Get Essential TypeScript: From Beginner to Pro 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.