Function Types

This lesson covers a brief overview of function types to ensure you have a solid foundation before the introduction to generic functions.

Functions as values

Every value in TypeScript has a type. Since JavaScript is a functional language, this means that functions are values too. Therefore, they also have types.

The easiest way to check the type of a function is to assign it to a constant and hover over the constant inside the code editor.

Get hands-on with 1200+ tech skills courses.