Options
All
  • Public
  • Public/Protected
  • All
Menu

Module shared

Index

Type aliases

ReturnAs: "text" | "blob" | "formData" | "arrayBuffer" | "json"
description

How to format the response

Functions

  • HeadersToRecords(headers?: HeadersInit): undefined | Record<string, string>
  • description

    Convert the headers to a Record<string, string>

    Parameters

    • Optional headers: HeadersInit

      Headers, js or array object

    Returns undefined | Record<string, string>

    Js object as Record<string, string>

Generated using TypeDoc