@mxraven/admin - v2.1.0
    Preparing search index...

    Type Alias FetchLike

    FetchLike: (
        input: string | URL,
        init?: RequestInit,
    ) => Promise<Awaited<ReturnType<typeof globalThis.fetch>>>

    The subset of the global fetch signature the SDK uses.

    Injecting a transport lets runtimes and tests supply their own implementation.

    Type Declaration

      • (
            input: string | URL,
            init?: RequestInit,
        ): Promise<Awaited<ReturnType<typeof globalThis.fetch>>>
      • Parameters

        • input: string | URL
        • Optionalinit: RequestInit

        Returns Promise<Awaited<ReturnType<typeof globalThis.fetch>>>