News for hackers. Stuff that matters.
Re:TypeScript is now officially 10 years old by dmitriid on Sunday October 09, 2022 @01:03PM (#33143008)
The thing is, TS has a very pragmatic type system [1], with multiple opt-outs or workarounds if necessary.

"Decent type systems" are usually in your way (especially if you want to quickly prototype something), and despite "decency" have abysmal tools (like "hey I've changed this function signature, update all call sites etc.)

[1] It's getting more and more complex, but even if you write something like this, it's still aiming to help you:

   Partial<Record<typeof keyof SomeEnum, boolean>>>

There are no comments on this comment yet.