export type ExtractFunctionType = T extends (...args: infer A) => infer R ? (...args: A) => R : never;