tools_dj 1.0.87 → 1.0.88
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/lib/request.d.ts +1 -2
- package/package.json +1 -1
package/lib/request.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 请求配置接口
|
|
3
3
|
*/
|
|
4
|
-
interface conf {
|
|
4
|
+
export interface conf {
|
|
5
5
|
/** 请求的基础URL前缀 */
|
|
6
6
|
baseUrl?: string;
|
|
7
7
|
/** 请求超时时间,单位毫秒,默认6000ms */
|
|
@@ -50,4 +50,3 @@ export default class {
|
|
|
50
50
|
*/
|
|
51
51
|
serve(url?: string, options?: any, conf?: conf): Promise<any>;
|
|
52
52
|
}
|
|
53
|
-
export {};
|