I just started learning tho,
Today I learnt more about inheritance.
OOP in JS has 4 concepts, which are:
1. Encapsulation
2. Polymorphism
3. Inheritance
4. Abstraction
Also OOP can be written in 3 concepts:
1. Constructor class
2. ES6 classes
3. Objects literals
Just moved from manually maintaining API types to OpenAPI + generated types.
✅ Single source of truth
✅ auto-generated TypeScript types
✅ No more maintenance burden