== should format == type ReturnType = T extends (...args: any[]) => infer R ? R : any; [expect] type ReturnType = T extends (...args: any[]) => infer R ? R : any;