Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptNoInfer and const type paramsSingle-choice MCQ

Which is the inferred type T at the call site?

declare function f<T>(a: T, b: NoInfer<T>): T;\nconst T = f("a", "b");