node-webpush 🔔
    Preparing search index...

    Type Alias FetchLikeInit

    Request init shape generateRequest() actually builds - deliberately not the global RequestInit type, for the same lib.dom-vs-undici reason as FetchLikeResponse (this time on body's FormData member: DOM's and undici's FormData classes aren't mutually assignable). body only ever needs to hold the encrypted payload Buffer - nothing here ever constructs a FormData, Blob, or ReadableStream body.

    type FetchLikeInit = {
        body?: Buffer | Uint8Array | string | null;
        headers?: Record<string, string>;
        method?: string;
    }
    Index
    body?: Buffer | Uint8Array | string | null
    headers?: Record<string, string>
    method?: string