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

Where should a type parameter live on an interface?

Short interview answer

Put it on the interface when all members share one chosen type, or on a call signature when each invocation should infer an independent type.

Key takeaway

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

← Back to Generics

Related questions