Skip to content

Glossary: TypeScript Beyond the Basics

Assignable

Also written: assignable to

A type is assignable to another if a value of the first could be stored in a variable of the second. Conditional types and error messages use this idea.

Where the book teaches it

Related terms

Conditional typeConstraint