Type Alias FetchLike

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

fetch con la firma que usamos. Se puede sustituir en tests o para meter un proxy.

Type declaration

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

      • input: string
      • init: RequestInit

      Returns Promise<Response>