Skip to content

TypeScript Advanced Quiz

Generics, conditional types, mapped types, utility types, and inference.

advanced
Question 1 of 7
Question 1 of 7typescript

What does this generic function signature mean?

typescript
function identity<T>(arg: T): T {
  return arg;
}