@seayoo-web/request 0.4.1 → 0.4.2
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/inc/type.d.ts +1 -1
- package/package.json +1 -1
package/dist/inc/type.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface IBaseRequestOptions {
|
|
|
9
9
|
/** url 参数 */
|
|
10
10
|
params?: Record<string, unknown>;
|
|
11
11
|
/** 发送的 body 内容,method 为 GET / HEAD / DELETE 时无效 */
|
|
12
|
-
body?: IBaseRequestBody |
|
|
12
|
+
body?: IBaseRequestBody | object | unknown[];
|
|
13
13
|
/**
|
|
14
14
|
* 是否携带用户认证信息(cookie, basic http auth 等),默认 "same-orgin",
|
|
15
15
|
*
|