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

Given homomorphic mapping over a tuple, what is `T`?

type Wrap<O> = { [K in keyof O]: [O[K]] }; type T = Wrap<[string, number]>;