zzz-pc-view 0.0.137 → 0.0.138

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.137",
3
+ "version": "0.0.138",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
@@ -201,7 +201,7 @@ export declare class CurdApi<T extends object = object, P extends PaginationResp
201
201
  * @returns {string} - 返回主键的属性名。
202
202
  * @throws {Error} - 如果主键未定义,则抛出错误。
203
203
  */
204
- protected getPrimaryKey(): never;
204
+ protected getPrimaryKey(): KeyMatch<T, PropertyKey>;
205
205
  /**
206
206
  * 构造函数,用于初始化 CurdApi 实例。
207
207
  * @param {Object} options - 构造函数的参数对象。