---
title: "NonNullable utility type"
description: "The NonNullable utility type lets you exclude null and undefined from a union type."
dependencies: ["passing-generics-to-types"]
link: "https://www.typescriptlang.org/docs/handbook/utility-types.html#nonnullabletype"
---