UNPKG

@serenity-js/core

Version:

The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure

10 lines (8 loc) 291 B
import type { Answerable } from '../Answerable.js'; import type { Interaction } from '../Interaction.js'; /** * @group Notes */ export interface ChainableSetter<T extends Record<any, any>> { set<K extends keyof T>(key: K, value: Answerable<T[K]>): ChainableSetter<T> & Interaction; }