by arcosdev · 9y ago · 0 comments
Why?
It's certainly not a requirement of TS, any more than it is in JS, and I've seen people writing large TS codebases without classes. Typically with a much more functional approach though. I don't see people writing many prototypical objects with TS. Is there a good reason they should be?
Also, TS does not force you into OOP. TS codebase itself does not have any classes.