DEV Community

Discussion on: No, TypeScript is not OOP version of JavaScript

Collapse
 
macsikora profile image
Pragmatic Maciej

Its natural that docs of TS will also mention about classes as TS is multi-paradigm language and you can write OOP in the same way you can in JS. But there are also function typings, higher order functions support and so on, in official TS docs you have section how to type functions - handbook