News for hackers. Stuff that matters.
Re:TypeScript is terrible for library developers by Gene_Parmesan on Wednesday August 24, 2022 @03:38AM (#32576024)
Did you miss this example from the linked post about redux-toolkit? https://github.com/reduxjs/redux-toolkit/blob/4ab8c42cb20ae1...

This is what types look like when you're on the library side. The post made very clear they aren't talking about the app dev side. The library types are complex like this so that the app devs have a smoother experience.

Re:TypeScript is terrible for library developers by youngtaff on Wednesday August 24, 2022 @04:46AM (#32576592)
Might help understanding if the author used ‘meaningful’ variable names…