News for hackers. Stuff that matters.
Re:Collection of TypeScript Type Challenges by whb07 on Tuesday September 08, 2020 @11:29PM (#24416719)
I find myself spending hours because they are too weak...

Not a Haskell type guy fanboy, but TS attempts to give you the tools to express yourself in types and falls significantly short.

Something like a single case discriminated union, proper discriminated unions, recursive types are all “basic”.

Re:Collection of TypeScript Type Challenges by searchableguy on Tuesday September 08, 2020 @11:47PM (#24416858)
Can you be more elaborate about your last point like give examples where it's not proper?