Course contentsShow
TypeScript
Lesson 118 of 1,7963. Basic TypesPro lesson

Accessing Tuple Elements

Access tuple elements by index with correct type inference: tuple[0] has its declared type, not just array element type.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.