@marianmeres/http-utils 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Request body data type.
|
|
9
9
|
* Supports JSON-serializable objects, FormData for file uploads, or raw strings.
|
|
10
10
|
*/
|
|
11
|
-
export type RequestData =
|
|
11
|
+
export type RequestData = object | FormData | string | null;
|
|
12
12
|
interface BaseParams {
|
|
13
13
|
method: "GET" | "POST" | "PATCH" | "DELETE" | "PUT";
|
|
14
14
|
path: string;
|