News for hackers. Stuff that matters.
Re:TypeScript: Control flow analysis for destructured discri... by the_duke on Wednesday November 03, 2021 @04:53PM (#29100118)
Note that this already worked fine by just operating on the field.

Like `if (action.kind === 'x')` / `switch (action.kind)`.

This "only" extends support to destructured discriminators.

Definitely nice to have, but of limited impact.

There are no comments on this comment yet.