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
easy
TypeScript
Which of these can a `type` alias express directly that `interface` genuinely cannot?
A
An object with a string property
B
A union type like `string | number`
C
A property that's optional
D
A readonly property
Check Answer