Appendix B. TypeScript essentials
TypeScript was released in 2012 by Microsoft, and its core developer was Anders Hejlsberg. He’s also one of the authors of Turbo Pascal and Delphi, and is a lead architect of C#. In this appendix, we’ll cover main elements of the TypeScript syntax.
We’ll also show you how to turn TypeScript code into JavaScript (ES5) so it can be executed by any web browser or a standalone JavaScript engine. This appendix doesn’t offer a complete coverage of TypeScript. Refer to the TypeScript documentation at www.typescriptlang.org/docs/home.html for complete coverage. Also, TypeScript supports all syntax constructs described in appendix A, so we don’t repeat those here.
B.1. The role of transpilers
Web browsers don’t understand ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access