Hacker News new | past | comments | ask | show | jobs | submit login

Described in programming terms: You try to type the weird dynamic object you have to deal with in Typescript but after spending too much time, you learn to relax about types and just write it in JS and it feels like it's working most of the time.



Don't forget the power of `as const` and type guards for tricky dynamic types! Especially for function params that accept multiple complex object types.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: