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

Declaring Tuple Types

Use bracket syntax with types at each position: [string, number] for a two-element tuple with specific types.

This lesson is for subscribers

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