zzz-pc-view 0.0.139 → 0.0.140

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.139",
3
+ "version": "0.0.140",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
@@ -196,7 +196,7 @@ export declare class CurdApi<T extends object = object, P extends PaginationResp
196
196
  * @param {T} data - 包含ID的数据对象。
197
197
  * @returns {any} - 返回数据对象的ID。
198
198
  */
199
- protected getId(data: T): T[ZUtils.KeyMatch<T, ZUtils.KeyValType>];
199
+ protected getId(data: T): ZUtils.KeyValType | never;
200
200
  /**
201
201
  * 获取目标类的主键。
202
202
  * @returns {string} - 返回主键的属性名。