Class constructor example in TypeScript
In this article, I am going to create a class with a constructor which will accept three parameters and then print them on the screen. First of all, I need to create an interface that will get extended by the class later on! The user and the year parameters of the interface are optional and…