Exploit the features of TypeScript to easily create your very own web applications
About This Book- Develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript
- Walk through the fundamentals of TypeScript with the help of practical examples
- Enhance your web development skills using TypeScript 2.x
If you are a developer aiming to learn TypeScript to build attractive web applications, this book is for you. No prior knowledge of TypeScript is required. However, a basic understanding of JavaScript would be an added advantage.
What You Will Learn- Understand TypeScript in depth, including its runtime and advanced type system features
- Master the core principles of the object-oriented programming and functional programming paradigms with TypeScript
- Save time using automation tools such as Gulp, Webpack, ts-node, and npm scripts
- Develop robust, modular, scalable, maintainable, and adaptable applications with testing frameworks such as Mocha, Chai, and Sinon.JS
- Put your TypeScript skills to practice by developing full-stack web applications with Node.js, React and Angular
- Use the APIs of the TypeScript compiler to build custom code analysis tool
TypeScript is an open source and cross-platform statically typed superset of JavaScript that compiles to plain JavaScript and runs in any browser or host.
This book is a step-by-step guide that will take you through the use and benefits of TypeScript with the help of practical examples. You will start off by understanding the basics as well as the new features of TypeScript 2.x. Then, you will learn how to work with functions and asynchronous programming APIs. You will continue by learning how to resolve runtime issues and how to implement TypeScript applications using the Object-oriented programming (OOP) and functional programming (FP) paradigms. Later, you will automate your development workflow with the help of tools such as Webpack. Towards the end of this book, you will delve into some real-world scenarios by implementing some full-stack TypeScript applications with Node.js, React and Angular as well as how to optimize and test them. Finally, you will be introduced to the internal APIs of the TypeScript compiler, and you will learn how to create custom code analysis tools.
Style and approachThis is a step-by-step guide that covers the fundamentals of TypeScript with practical examples.
Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.