- Each<T extends any[] | [any]>(
cases: readonly T[],
): (name: string, fn: (...args: T) => any, timeout?: number) => void Returns (name: string, fn: (...args: T) => any, timeout?: number) => void
- Each<T extends readonly any[]>(
cases: readonly T[],
): (
name: string,
fn: (...args: ExtractEachCallbackArgs<T>) => any,
timeout?: number,
) => void Returns (
name: string,
fn: (...args: ExtractEachCallbackArgs<T>) => any,
timeout?: number,
) => void
- Each<T>(
cases: readonly T[],
): (
name: string,
fn: (arg: T, done: DoneCallback) => any,
timeout?: number,
) => void Returns (
name: string,
fn: (arg: T, done: DoneCallback) => any,
timeout?: number,
) => void
- Each(
cases: readonly (readonly any[])[],
): (name: string, fn: (...args: any[]) => any, timeout?: number) => void Parameters
- cases: readonly (readonly any[])[]
Returns (name: string, fn: (...args: any[]) => any, timeout?: number) => void
- Each(
strings: TemplateStringsArray,
...placeholders: any[],
): (
name: string,
fn: (arg: any, done: DoneCallback) => any,
timeout?: number,
) => void Parameters
- strings: TemplateStringsArray
- ...placeholders: any[]
Returns (
name: string,
fn: (arg: any, done: DoneCallback) => any,
timeout?: number,
) => void