I'd like to make a type function called InstantiateWith1<Fn> which takes a generic function Fn that takes a type argument, passes a 1 to the type argument, and returns the result of what the return type of that function would be if instantiated with 1.
I get stuck when writing the extends clause for Fn. TS says that Fn is not generic. What should I do?