News for hackers. Stuff that matters.
Re:TypeScript is terrible for library developers by AOsborn on Tuesday August 23, 2022 @11:03PM (#32574509)
That is terrible. Good luck onboarding new developers or junior team members into your project.

I get playing with technology for side projects, but for something commercial there is no way I would sign off on including that package into a project.

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…