TypeScript | Advanced Types in TypeScript |Question7

Last Updated :
Discuss
Comments

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.

Share your thoughts in the comments