Type Alias SetupServerOrWorkerOptions

SetupServerOrWorkerOptions: {
    server?: Parameters<SetupServer["listen"]>[0];
    worker?: Parameters<SetupWorker["start"]>[0];
}

Options for starting an MSW server or worker.

Type declaration