What is the purpose of recursive types in TypeScript?
To define self-referencing type structures.
To prevent infinite type resolution.
To map all properties to optional.
To iterate over union types.
This question is part of this quiz :
Advanced Types in TypeScript Quiz