Q65: What are Labeled Tuple Elements and why are they used?
Labeled tuples allow adding documentation labels to tuple indices ([name: string, age: number]) without altering the tuple's structural type checks.
Key Takeaways
- Improves readability and IDE parameter documentation for tuple types.