Options
All
  • Public
  • Public/Protected
  • All
Menu

Module typings/http

Index

Type aliases

Type aliases

IRequest

IRequest: (apiEndpoint: string, options?: RequestInit, contentType?: string) => Promise<Response>

Type declaration

    • (apiEndpoint: string, options?: RequestInit, contentType?: string): Promise<Response>
    • Parameters

      • apiEndpoint: string
      • Optional options: RequestInit
      • Optional contentType: string

      Returns Promise<Response>

Generated using TypeDoc