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

What is the type of Keys (keyof T)?

type T = { [K in "a" | "b" as `on${Capitalize<K>}`]: number }; type Keys = keyof T;