DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
TypeScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
TypeScript
What's an alternative to the <T,> trailing-comma syntax for a generic component that some teams prefer for clarity?
A
There is no alternative
B
Using a regular function declaration, `function Component<T>(...) {...}`, instead of an arrow function
C
Always using `any` instead of a real generic
D
Disabling TypeScript for that specific file
Check Answer