types/route.types.ts

types/route.types.ts is a file in Project Scripts. 12 lines of code and 2 definitions.

import type { ChildProcess } from "node:child_process";

export interface CaptureOptions {
    readonly browser: string | null;
    readonly outDir: string;
    readonly routes: readonly string[];
    readonly settleMs: number;
    readonly software: boolean;
}

export interface StartedServer {
    readonly output: readonly string[];
    readonly process: ChildProcess;
}