---
title: "Non-null expression"
description: "You can postfix an expression with ! to tell TypeScript that you know it's not null or undefined. This works the same as an 'as' assertion."
dependencies: []
link: "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#non-null-assertion-operator-postfix-"
---