Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptvariadic tuple typesSingle-choice MCQ

What is the `.length` type of the value below, and why?

type T = [first: string, second?: number, ...rest: boolean[]]; declare const t: T; type L = typeof t.length;