isomorphic-msw
    Preparing search index...

    Type Alias SetupServerOrWorkerOptions

    Options for starting an MSW server or worker.

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

    Properties

    Properties

    server?: Parameters<SetupServer["listen"]>[0]

    Options for starting a server.

    worker?: Parameters<SetupWorker["start"]>[0]

    Options for starting a worker.