5 Using the TypeScript compiler
This chapter covers
- Installing the TypeScript package using the Node Package Manager
- Creating a configuration file for the TypeScript compiler
- Using the TypeScript compiler to generate Java Script code
- Choosing the version of the JavaScript lan guage targeted by the TypeScript compiler
- Selecting the JavaScript module format used by the TypeScript compiler
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 ...
Get Essential TypeScript 5, Third Edition 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.