tools_dj 1.0.94 → 1.0.96

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.
Files changed (2) hide show
  1. package/lib/types.d.ts +1 -1
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -20,7 +20,7 @@ export type RequestRedirect = 'follow' | 'manual' | 'error';
20
20
  /** 引用策略类型 */
21
21
  export type ReferrerPolicy = 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
22
22
  /** 请求头类型 */
23
- export type RequestHeaders = Record<string, string> | Headers;
23
+ export type RequestHeaders = Record<string, any> | Headers;
24
24
  /** 请求选项接口 */
25
25
  export interface RequestOptions {
26
26
  method?: HttpMethod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tools_dj",
3
- "version": "1.0.94",
3
+ "version": "1.0.96",
4
4
  "description": "dj tools 工具库",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",