@etsoo/react 1.8.50 → 1.8.51

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.
@@ -17,6 +17,6 @@ export type CustomFieldReactProps<V, D extends CustomFieldData = CustomFieldData
17
17
  * React自定义字段渲染结果集合
18
18
  */
19
19
  export type CustomFieldReactCollection<D extends CustomFieldData> = Record<string, [
20
- React.RefObject<CustomFieldRef<unknown>>,
20
+ React.RefObject<CustomFieldRef<unknown> | null>,
21
21
  D
22
22
  ]>;
@@ -17,6 +17,6 @@ export type CustomFieldReactProps<V, D extends CustomFieldData = CustomFieldData
17
17
  * React自定义字段渲染结果集合
18
18
  */
19
19
  export type CustomFieldReactCollection<D extends CustomFieldData> = Record<string, [
20
- React.RefObject<CustomFieldRef<unknown>>,
20
+ React.RefObject<CustomFieldRef<unknown> | null>,
21
21
  D
22
22
  ]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.8.50",
3
+ "version": "1.8.51",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -31,5 +31,5 @@ export type CustomFieldReactProps<
31
31
  */
32
32
  export type CustomFieldReactCollection<D extends CustomFieldData> = Record<
33
33
  string,
34
- [React.RefObject<CustomFieldRef<unknown>>, D]
34
+ [React.RefObject<CustomFieldRef<unknown> | null>, D]
35
35
  >;