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

Which is the inferred type T?

type IsString<T> = T extends string ? true : false;\ntype T = IsString<"a">;