
- 536 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Learning TypeScript 2.x
About this book
Exploit the features of TypeScript to easily create your very own web applications
Key Features
- 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
Book Description
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.
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
Who this book is for
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.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Contributors
About the author
About the reviewers
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Preface
- Introducing TypeScript
- Working with Types
- Working with Functions
- Object-Oriented Programming with TypeScript
- Working with Dependencies
- Understanding the Runtime
- Functional Programming with TypeScript
- Working with Decorators
- Automating Your Development Workflow
- Node.js Development with TypeScript
- Frontend Development with React and TypeScript
- Frontend Development with Angular and TypeScript
- Application Performance
- Application Testing
- Working with the TypeScript Compiler and the Language Services
- Other Books You May Enjoy