@whitesev/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/types/src/Httpx.d.ts +1 -1
- package/package.json +1 -1
- package/src/Httpx.ts +1 -1
|
@@ -101,7 +101,7 @@ declare class Httpx {
|
|
|
101
101
|
* @param url 网址
|
|
102
102
|
* @param details 配置
|
|
103
103
|
*/
|
|
104
|
-
post<T
|
|
104
|
+
post<T extends HttpxRequestOption>(url: string, details: T): HttpxPromise<HttpxResponse<T>>;
|
|
105
105
|
/**
|
|
106
106
|
* HEAD 请求
|
|
107
107
|
* @param details 配置
|
package/package.json
CHANGED
package/src/Httpx.ts
CHANGED