The `infer` Keyword
The lesson goes through some of the remaining built-in conditional types and introduces the `infer` keyword.
We'll cover the following
Parameters
The Parameters
type takes a function type and returns a tuple type representing types of all parameters of the function. Sounds magical, doesn’t it?
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy