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
hard
TypeScript
Two interface declarations with the same name have a CONFLICTING type for the same property (one says number, the other says string). What happens?
A
They silently merge, picking one arbitrarily
B
A compile error — declaration merging only works cleanly when properties don't directly conflict
C
The first declaration always wins silently
D
TypeScript automatically converts between the types
Check Answer