type TestReturnType any> = T extends (...args: any[]) => infer R ? R : any;