Learning TypeScript 2.x
eBook - ePub

Learning TypeScript 2.x

  1. 536 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

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

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • 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.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Learning TypeScript 2.x by Remo H. Jansen in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in JavaScript. We have over one million books available in our catalogue for you to explore.

Contributors

About the author

Remo H. Jansen is originally from Seville, Spain, but he currently lives in Dublin, Ireland, where he works as a web engineer at Stellwagen Technology and as a part-time lecturer at CCT College Dublin.
Remo is a Microsoft MVP and an active member of the TS community. He organizes the Dublin TypeScript and Dublin OSS meetups, writes a blog, and maintains InversifyJS on GitHub.
Thanks to everyone who participated in this book for your support and hardwork. My friends, Lorraine, and my family, for your support and patience. My other family in Ireland, for adopting me as one of your own. In particular, to Kay, who sadly left us while I was working on this book and whose caring memories and advice I will cherish forever.

About the reviewers

Alejandro Lora Gómez is a software developer residing in Seville, Spain. He is an instructor at Udemy, where he teaches his best-selling courses on Android and Kotlin to over 25K students. Alejandro has a keen interest in web development with Angular and has been working with Angular for several years in multiple contexts (consulting, start-ups, and contracting) and countries (Spain, Ireland, and France), which has added professional value and experience to his career. Nowadays, he works remotely for a multinational corporation based in the USA as an Angular developer.
Carlos Landeras has been a Software Engineer for the past 10 years, being focused on .NET platform and JavaScript development for web solutions. He has been awarded the Microsoft MVP in Visual Studio and development technologies and has a large number of contribu...

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. Dedication
  4. Packt Upsell
  5. Contributors
  6. Preface
  7. Introducing TypeScript
  8. Working with Types
  9. Working with Functions
  10. Object-Oriented Programming with TypeScript
  11. Working with Dependencies
  12. Understanding the Runtime
  13. Functional Programming with TypeScript
  14. Working with Decorators
  15. Automating Your Development Workflow
  16. Node.js Development with TypeScript
  17. Frontend Development with React and TypeScript
  18. Frontend Development with Angular and TypeScript
  19. Application Performance
  20. Application Testing
  21. Working with the TypeScript Compiler and the Language Services
  22. Other Books You May Enjoy