Skip to content
TypeScript·Advanced·Conceptual·1 min read

Can an interface extend a type alias?

Short interview answer

Yes, as long as the type alias resolves to an object type; interface extends works with both other interfaces and compatible type aliases, though it cannot extend a union type.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Utility types and type vs. interface

Related questions