litten-hooks 1.3.0 → 1.4.0

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.
@@ -19,7 +19,16 @@ export type StyleValue<T> = T;
19
19
  export type ResponsiveStyleValue<T> = T | {
20
20
  [key: string]: T | null;
21
21
  };
22
+ /**
23
+ * 控件返回值
24
+ */
22
25
  export type LittenValue = string | ReadonlyArray<string> | number | boolean | undefined;
26
+ /**
27
+ * 控件返回对象
28
+ */
29
+ export interface LittenObjectValue {
30
+ [index: string]: LittenValue;
31
+ }
23
32
  /**
24
33
  * 极值
25
34
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "litten-hooks",
3
3
  "private": false,
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",