Creating and Using Decorators in TypeScript 5
Decorators are essential for writing flexible, readable, and modular TypeScript code. This course will teach you how to use and implement decorators.
What you'll learn
Decorators are an essential feature that allows writing flexible, readable, and modular TypeScript code. It is used in numerous popular libraries and frameworks. In this course, Creating and Using Decorators in TypeScript 5, you’ll learn to use and create decorators and learn how they work under the hood. First, you’ll explore what decorators are, and how they can be used. Next, you’ll discover how to implement various types of decorators, and how they work under the hood. Finally, you’ll learn how to build a small framework using decorators. When you’re finished with this course, you’ll have the skills and knowledge of decorators in needed to develop complex applications in TypeScript.
Table of contents
- Introduction 2m
- What Are We Going to Implement? 5m
- Class Decorators 4m
- Using Express.js Framework 6m
- Implementing Routes Support 7m
- Property Decorators 5m
- Implementing Dependency Injection 5m
- Decorators Metadata 5m
- Experimental Decorators 4m
- Reflect Metadata 6m
- Using Experimental Decorators 6m
- Parameter Decorators 3m
- Implementing Query Parameters 5m
- Summary 3m