Type alias CheckChained<T>
CheckChained<T>: { [K in keyof T]: K extends keyof Tail<T> ? [T[K], Tail<T>[K]] extends [((arg) => infer RA), ((arg) => any)] ? [ExtractGeneric<RA>] extends [AB] ? T[K] : ((arg) => ExtractGeneric<RA>) : never : T[K]}
Type Parameters
-
T extends readonly ((...params) => any)[]