iv-npm 1.3.3 → 1.3.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iv-npm",
3
- "version": "1.3.3",
3
+ "version": "1.3.6",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -1,7 +1,4 @@
1
1
  import { PropType } from "vue";
2
- interface PromiseFn<T = any, R = T> {
3
- (...arg: T[]): Promise<R>;
4
- }
5
2
  /**
6
3
  * uploadApi:api接口
7
4
  * uploadLength:最大上传文件数量
@@ -15,7 +12,7 @@ interface PromiseFn<T = any, R = T> {
15
12
  */
16
13
  declare const _default: import("vue").DefineComponent<{
17
14
  uploadApi: {
18
- type: PropType<PromiseFn<any, any>>;
15
+ type: PropType<any>;
19
16
  default: null;
20
17
  required: true;
21
18
  };
@@ -58,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
58
55
  [key: string]: any;
59
56
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("uploadChange" | "cancelAltimeter" | "altimeterUrl")[], "uploadChange" | "cancelAltimeter" | "altimeterUrl", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
60
57
  uploadApi: {
61
- type: PropType<PromiseFn<any, any>>;
58
+ type: PropType<any>;
62
59
  default: null;
63
60
  required: true;
64
61
  };
@@ -102,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
102
99
  onCancelAltimeter?: ((...args: any[]) => any) | undefined;
103
100
  onAltimeterUrl?: ((...args: any[]) => any) | undefined;
104
101
  }, {
105
- uploadApi: PromiseFn<any, any>;
102
+ uploadApi: any;
106
103
  uploadLength: number;
107
104
  fileList: any[];
108
105
  listType: string;