Open shaKY-iota opened 2 years ago
// your answers // see https://github.com/type-challenges/type-challenges/issues/222#issue-702744804 type AppendArgument<Fn extends (...args: any) => unknown, A> = (...args: [...Parameters<Fn>, A]) => ReturnType<Fn>