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
Why parameterize React.ChangeEvent<HTMLInputElement> with the specific element type, rather than using a bare React.ChangeEvent?
A
It has no real effect either way
B
It correctly types e.target as that specific element (HTMLInputElement), giving access to its specific properties like .value, rather than a generic, less useful EventTarget
C
It makes the event fire faster
D
It's required for the code to compile at all
Check Answer