Does TypeScript support all object oriented principles?

Technology CommunityCategory: TypeScriptDoes TypeScript support all object oriented principles?
VietMX Staff asked 3 years ago

The answer is YES. There are 4 main principles to Object Oriented Programming:

  • Encapsulation,
  • Inheritance,
  • Abstraction, and
  • Polymorphism.

TypeScript can implement all four of them with its smaller and cleaner syntax.