DEV Community

Cover image for Typescript inheritance deep dive
kreuzerk
kreuzerk

Posted on • Originally published at Medium

2

Typescript inheritance deep dive

Typescript and JavaScript are both awesome languages.Due to backwards compatibility we generally transpile our code to Javascript. But a lot of Typescript constructs do not exist in ES5. Inheritance for example is one of them.

So how does this work then? Typescript uses syntactic sugar to “mimic” the class and inheritance behaviour. It creates kind of an illusion of those concepts. If you want to know what I mean by that then checkout my article on Typescript inheritance deep dive

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay