News for hackers. Stuff that matters.
Re:Tagged Unions Are Overrated by skjfdoslifjeifj on Friday February 19, 2021 @11:44AM (#26194938)
I believe you can get a better normalized form of SubsetFoo by instead doing:

    type SubsetFoo = Extract<Foo, { kind: 'B' | 'C' }>;

There are no comments on this comment yet.