I'd reading about typescript's class
and abstract class
and I did find something very interesting.
Typescript allows us to implement classes
.
I even created a stackblitz project to test it.
Anyway, I already found the general differences here, and what is its behavior in typescript here.
I'm aware that it can be used to create mock for tests.
Why typescript allows it, if in other very popular languages (Java
, C#
,...) it is 'forbidden'? Is There any other important application of this feature?