The best part of working on River has been actually getting good at the insane type system TS has
Just wrote this type entirely off the top of my head to get full type safety on a server side caller using the builder pattern to get proper type narrowing
The generics system in TS is genuinely incredible, you can do so much insane stuff with this (including heavily lie to typescript with crazy proxy bullshit which I'm doing a lot)



