How the TypeScript NonNullable Type Works
Too Long; Didn't Read
The NonNullable type is a utility type in TypeScript that creates a new type, while removing all null or undefined elements. It lets us take existing types, and modify them so they are more suitable in certain situations. Let's look at how it works.