Skip to content

Glossary: React Beyond the Basics

unknown

A TypeScript type for a value you know nothing about, such as a caught error. You must narrow it, for example with instanceof, before using it.

Where the book teaches it

Related terms

instanceofnarrowing