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 does the excess property check exist specifically for object literals, given that structural typing normally ignores extra properties?
A
It's an inconsistency/bug in TypeScript
B
It catches likely typos in literals (like a misspelled property name) that would otherwise be silently ignored by normal structural permissiveness
C
It only applies to numbers, not objects
D
It has no real purpose
Check Answer