Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptinference internalsSingle-choice MCQ

For `declare function f<T>(...xs: T[]): T;`, what is the result of `f("a", 1, true)`?

declare function f<T>(...xs: T[]): T; const r = f("a", 1, true);