Quiz: Generics

Test your understanding of generics in TypeScript.

Generics in TypeScript

1

What is the syntax for defining a generic type in TypeScript?

A)

[T]

B)

<T>

C)

(T)

D)

{T}

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.