Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumTypeScriptkeyof and indexed accessSingle-choice MCQ

Which is the inferred type T?

interface I { foo: number; bar: string }\ntype T = keyof I;