Hi Friends,
In this section, we are going to see more of types. Basically, we’ll see how to extend the types. If you are coming from from C# or Java background, you must be familiar with extending or inheriting. Although, JavaScript, by default doesn’t support inheritance, but by using Prototypes, we can implement inheritance in JavaScript. I have already have one section dedicated to Prototype(Advanced) JavaScript, you can refer that as well. So, here we are going to see the same, means writing a base class and inheriting the same in the child class. Hence, without wasting time, let’s jump into demos.
Continue reading “Getting Started with TypeScript – Part 8” »