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
Which of these type shapes is most naturally expressed as a type alias rather than an interface?
A
A simple object with two string properties
B
A discriminated union of several different result shapes ({ status: 'success', ... } | { status: 'error', ... })
C
A class's public method signatures
D
There's no meaningful difference for any of these
Check Answer