Type Alias PluginOpts<P>

PluginOpts<P>: P extends [infer H extends ((t: TestBase, opts: any) => any), ...(infer T extends ((t: TestBase, opts: any) => any)[])]
    ? SecondParam<Parameters<H>> & PluginOpts<T>
    : {}

The union of the second parameters of all loaded plugin methods

Type Parameters

  • P extends ((t: TestBase, opts: any) => any)[]