Type Aliases
Method
Method:
"get" | "GET" | "delete" | "DELETE" | "head" | "HEAD" | "options" | "OPTIONS" | "post" | "POST" | "put" | "PUT" | "patch" | "PATCH" | "purge" | "PURGE" | "link" | "LINK" | "unlink" | "UNLINK"
Pick
Pick<T, K>:
{
[ P in K]: T[P]
}
Type Parameters
Record
Record<K, T>:
{
[ P in K]: T
}
Type Parameters
Response200
Response200:
{ success: boolean }
ResponseType
ResponseType:
"arraybuffer" | "blob" | "document" | "json" | "text" | "stream"
ResponseWithError
Type Parameters
From T, pick a set of properties whose keys are in the union K