Using Property Decorators in Typescript with a real example

I was talking about class decorators in typescript in my previous post, today is time for properties decorators, how to define and use it for writing clean and elegant code. What is Property Decorator The property decorator is a function, applied to the property declaration in our classes. It gets the constructor function of the … Continue reading Using Property Decorators in Typescript with a real example