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 the key difference between a plain type annotation and satisfies, for an object being checked against an interface?
A
There is no real difference
B
An annotation widens the value's type to exactly the annotated type; satisfies validates against the type but keeps the value's own more specific inferred type
C
satisfies performs no validation at all
D
An annotation performs more validation than satisfies
Check Answer