Hacker News new | ask | show | jobs
by the_gipsy 3036 days ago
So, basically, creating classes generates JS, interfaces/types aliases don't.

Don't create classes only for the types, that's what interfaces and type aliases are good for.