Type alias RequestOptions
RequestOptions: {
body?: Record<string, unknown>;
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
params?: Record<string, string | number | boolean | null | undefined> | URLSearchParams;
}
Type declaration
Optional body?: Record<string, unknown>
Optional method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH"
Optional params?: Record<string, string | number | boolean | null | undefined> | URLSearchParams