Comment

Comment by shortrounddev2

I just want TS to have some kind of RTTI. It would be really cool if you could generate a list of keys on a type or object using `keyof`. It would make typescript significantly better for backend development so that you could automate input validation rather than having to write some kind of swagger annotation on every single field. Would make generics a lot more useful, too.

I know the reasons that they don't do this, but I think without that kind of metaprogramming, typescript and node remain poor choices for backend development

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton