I think maybe you stepped out of .net at the wrong time. Pattern matching, records, discriminated unions (c# 10) etc are here and on they way. Lots of functional features being integrated into C# with every update.
Besides that the typescript type system is insane. It’s cool to hear about discriminated unions though.