@serenity-js/web
Version:
Serenity/JS Screenplay Pattern library offering a flexible, web driver-agnostic approach for interacting with web-based user interfaces and components, suitable for various testing contexts
14 lines • 459 B
TypeScript
/**
* @group Models
*/
export declare class ArgumentDehydrator<T, U> {
private readonly shouldReference;
private readonly transformation;
constructor(shouldReference: (item: any) => item is T, transformation: (item: T) => U | Promise<U>);
dehydrate(inputArgs: Array<any>): Promise<[{
argsCount: number;
refsCount: number;
}, ...any[]]>;
private dehydrateRecursively;
}
//# sourceMappingURL=ArgumentDehydrator.d.ts.map