@shopify/oxygen-workers-types
    Preparing search index...

    Variable Response

    Response: {
        prototype: Response;
        error(): Response;
        json(any: any, maybeInit?: Response | ResponseInit): Response;
        redirect(url: string, status?: number): Response;
        new (body?: null | BodyInit, init?: ResponseInit): Response;
    }

    This Fetch API interface represents the response to a request.

    MDN Reference

    Type declaration