News for hackers. Stuff that matters.
Re:Tricks I wish I knew when I learned TypeScript by jgwil2 on Tuesday October 12, 2021 @12:58PM (#28842086)
> This new type (called Ensure) will be equal to the union of two types

You mean intersection, right?

EDIT: link to docs on intersection types: https://www.typescriptlang.org/docs/handbook/2/objects.html#...

There are no comments on this comment yet.