jira.js
    Preparing search index...

    Type Alias FetchLike

    FetchLike: (url: string, init: RequestInit) => Promise<Response>

    The shape the client calls fetch by.

    Narrower than typeof globalThis.fetch on purpose: undici's fetch declares its own RequestInit — one with dispatcher and without duplex — and a proxy wrapper would not type-check against the global signature.

    Type Declaration

      • (url: string, init: RequestInit): Promise<Response>
      • Parameters

        • url: string
        • init: RequestInit

        Returns Promise<Response>