html-reporter
Version:
Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.
14 lines (13 loc) • 548 B
TypeScript
import type { Action } from "./types";
import actionNames from "../action-names";
export type OpenModalAction = Action<typeof actionNames.OPEN_MODAL, {
id: string;
type: string;
data?: unknown;
}>;
export declare const openModal: (payload: OpenModalAction['payload']) => OpenModalAction;
export type CloseModalAction = Action<typeof actionNames.CLOSE_MODAL, {
id: string;
}>;
export declare const closeModal: (payload: CloseModalAction['payload']) => CloseModalAction;
export type ModalsAction = OpenModalAction | CloseModalAction;