danhab99@programming.dev to TypeScript@programming.dev · 1 year agoTypescript is implementing a using keywordwww.totaltypescript.comexternal-linkmessage-square4fedilinkarrow-up118arrow-down10
arrow-up118arrow-down1external-linkTypescript is implementing a using keywordwww.totaltypescript.comdanhab99@programming.dev to TypeScript@programming.dev · 1 year agomessage-square4fedilink
minus-squareKogasa@programming.devlinkfedilinkarrow-up2·1 year agoDiscriminated unions have been In The Works™ for quite a while. I believe they were cut from the C# 12 roadmap. But maybe C# 13? I think a source-generation based approach similar to OneOf isn’t unlikely.
Discriminated unions have been In The Works™ for quite a while. I believe they were cut from the C# 12 roadmap. But maybe C# 13?
I think a source-generation based approach similar to
OneOf
isn’t unlikely.