Tech Tutorials Database
GeekArticles Microsoft Microsoft.NET
 

Create class decorators in TypeScript

 
Author: dotnetbips.com
Category: Microsoft.NET
Comments (0)

In the previous part of this article and video series you learned about TypeScript inheritance. In this article you will learn about a feature of TypeScript that allows you to annotate and modify classes and class members. This feature is called Decorators. Decorators is an experimental feature and you need to enable them in your TypeScript configuration file. You will find TypeScript decorators analogous to C# attributes in that they form the metadata of a class and class members.

Read More...




Sponsored Links




Read Next: Use inheritance, abstract classes, and polymorphism in TypeScript



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification:�
 
 Subscribe