News for hackers. Stuff that matters.
Re:TypeScript: Control flow analysis for destructured discri... by exdsq on Wednesday November 03, 2021 @09:33PM (#29102721)
The most common thing to use them for in TS is to acknowledge a value could be of type null or undefined. Let’s you then check you’re handling them correctly.

There are no comments on this comment yet.