News for hackers. Stuff that matters.
Re:Bad TypeScript Habits by Tade0 on Wednesday February 03, 2021 @04:33AM (#26012034)
A while ago I spent a week turning a humongous interface with all fields optional into a discriminated union of smaller ones, falling back to an "any" dictionary.

My team was really happy with the result, but I'm afraid that if layoffs happen, I'll be on the shortlist.

There are no comments on this comment yet.