@etsoo/appscript 1.4.93 → 1.4.94

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.
@@ -10,9 +10,11 @@ export type CustomFieldRef<V> = {
10
10
  getValue(): V | undefined;
11
11
  /**
12
12
  * Set value
13
+ * Its type is 'unknown' because the 'type' configuration of the CustomField may be changed
14
+ * First time editing with the new 'type' may break the component
13
15
  * @param value Value
14
16
  */
15
- setValue(value: V | undefined): void;
17
+ setValue(value: unknown): void;
16
18
  };
17
19
  /**
18
20
  * Custom field props
@@ -10,9 +10,11 @@ export type CustomFieldRef<V> = {
10
10
  getValue(): V | undefined;
11
11
  /**
12
12
  * Set value
13
+ * Its type is 'unknown' because the 'type' configuration of the CustomField may be changed
14
+ * First time editing with the new 'type' may break the component
13
15
  * @param value Value
14
16
  */
15
- setValue(value: V | undefined): void;
17
+ setValue(value: unknown): void;
16
18
  };
17
19
  /**
18
20
  * Custom field props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.4.93",
3
+ "version": "1.4.94",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -12,9 +12,11 @@ export type CustomFieldRef<V> = {
12
12
 
13
13
  /**
14
14
  * Set value
15
+ * Its type is 'unknown' because the 'type' configuration of the CustomField may be changed
16
+ * First time editing with the new 'type' may break the component
15
17
  * @param value Value
16
18
  */
17
- setValue(value: V | undefined): void;
19
+ setValue(value: unknown): void;
18
20
  };
19
21
 
20
22
  /**