Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptconditional-type distributionSingle-choice MCQ1 views

Which is the inferred type T?

type IsString<T> = T extends string ? true : false;\ntype T = IsString<string | 1>;