zzz-pc-view 0.0.105 → 0.0.106

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": "zzz-pc-view",
3
- "version": "0.0.105",
3
+ "version": "0.0.106",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
@@ -21,7 +21,7 @@ import { KeyMatch } from '../DeclareType';
21
21
  id2: { id: 'id2', name: 'name2' }
22
22
  }
23
23
  */
24
- export declare const toKeyValue: <T>(dataList: T[], mapKeyProp: KeyMatch<T, PropertyKey>) => Record<PropertyKey, T>;
24
+ export declare const toKeyValue: <T>(dataList: readonly T[], mapKeyProp: KeyMatch<T, PropertyKey>) => Record<PropertyKey, T>;
25
25
  /**
26
26
  * 将对象数组转换为键值对形式的对象,其中值为数组。
27
27
  *
@@ -50,7 +50,7 @@ export declare const toKeyValue: <T>(dataList: T[], mapKeyProp: KeyMatch<T, Prop
50
50
  ]
51
51
  }
52
52
  */
53
- export declare const toKeyValues: <T>(dataList: T[], mapKeyProp: KeyMatch<T, PropertyKey>) => Record<PropertyKey, T[]>;
53
+ export declare const toKeyValues: <T>(dataList: readonly T[], mapKeyProp: KeyMatch<T, PropertyKey>) => Record<PropertyKey, T[]>;
54
54
  /**
55
55
  * 将属性键数组转换为键值对形式的对象,其中值为 `true`。
56
56
  *