@seayoo-web/request 3.1.3 → 3.1.4
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/package.json +1 -1
- package/types/inc/type.d.ts +1 -0
package/package.json
CHANGED
package/types/inc/type.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare const RequestInternalError: {
|
|
|
17
17
|
/** url 格式错误 */
|
|
18
18
|
readonly URLFormatError: "URLFormatError";
|
|
19
19
|
};
|
|
20
|
+
export type RequestInternalError = (typeof RequestInternalError)[keyof typeof RequestInternalError];
|
|
20
21
|
/** 通用网络请求工具的基本配置 */
|
|
21
22
|
export interface IBaseRequestOptions {
|
|
22
23
|
/** 网络请求方法,默认 GET */
|