Both Angular and TS are great tools. Using both helps us achieve a great application. Combining the advantages of TS features together with Agular’s advanced functionality can leverage your app even more.

One of the advanced features TS has to offer is the Decorator. Combining Decorators together with Angular can make your application cleaner, more readable and can reduce code duplications.

So what are TS decorators anyway?

Official defenition-

A Decorator is a special kind of declaration that can be attached to a class declaration, method, accessor, property, or parameter. …

Emil Gadzaev

Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store