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

Which is the inferred type T?

/* tsconfig: noUncheckedIndexedAccess true */\ndeclare const arr: string[];\ntype T = (typeof arr)[number];