Type Alias PluginResult<P>
PluginResult<P>: P extends [infer H extends ((t: TestBase,
opts: any) => any), ...(infer T extends ((t: TestBase,
opts: any) => any)[])] ? ReturnType<H> & PluginResult<T> : {} Type Parameters
- P extends ((t: TestBase, opts: any) => any)[]
Utility type to combine the array of plugins into a single combined return type.