@vtj/utils 0.3.1-alpha.0 → 0.3.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/utils",
3
3
  "private": false,
4
- "version": "0.3.1-alpha.0",
4
+ "version": "0.3.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "setup": "npm install --registry=https://registry.npmmirror.com",
@@ -29,7 +29,7 @@
29
29
  "require": "./lib/index.js"
30
30
  }
31
31
  },
32
- "gitHead": "2f78a447ea5b7ae5616b796caadf4d3023aefd0b",
32
+ "gitHead": "b5d6ad4207f16bb4fb9c7b902090aa2ec5f81138",
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  }
package/types/index.d.ts CHANGED
@@ -6,6 +6,5 @@ export * as cookie from './cookie';
6
6
  export * as storage from './storage';
7
7
  export * as crypto from './crypto';
8
8
  export * as url from './url';
9
- export * as file from './file';
10
9
  export { dayjs } from './dayjs';
11
10
  export { jsonp } from './jsonp';
package/types/file.d.ts DELETED
@@ -1,10 +0,0 @@
1
- /**
2
- * @desc axios下载文件
3
- * @author TangYong
4
- * @param url 下载路径
5
- * @param fileName 下载的文件名称及其后缀,后缀要和后台保持的一致
6
- */
7
- export declare function downloadFile({ url, fileName }: {
8
- url: string;
9
- fileName: string;
10
- }): void;