@etsoo/appscript 1.3.81 → 1.3.82
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.
|
@@ -11,7 +11,7 @@ export type ListItem<T> = {
|
|
|
11
11
|
*/
|
|
12
12
|
icon?: T;
|
|
13
13
|
/**
|
|
14
|
-
* Action, string for URL
|
|
14
|
+
* Action, string for URL, any for state
|
|
15
15
|
*/
|
|
16
|
-
action?: string | (() => PromiseLike<void> | void);
|
|
16
|
+
action?: string | [string, any] | (() => PromiseLike<void> | void);
|
|
17
17
|
};
|
|
@@ -11,7 +11,7 @@ export type ListItem<T> = {
|
|
|
11
11
|
*/
|
|
12
12
|
icon?: T;
|
|
13
13
|
/**
|
|
14
|
-
* Action, string for URL
|
|
14
|
+
* Action, string for URL, any for state
|
|
15
15
|
*/
|
|
16
|
-
action?: string | (() => PromiseLike<void> | void);
|
|
16
|
+
action?: string | [string, any] | (() => PromiseLike<void> | void);
|
|
17
17
|
};
|
package/package.json
CHANGED
package/src/def/ListItem.ts
CHANGED
|
@@ -13,7 +13,7 @@ export type ListItem<T> = {
|
|
|
13
13
|
icon?: T;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Action, string for URL
|
|
16
|
+
* Action, string for URL, any for state
|
|
17
17
|
*/
|
|
18
|
-
action?: string | (() => PromiseLike<void> | void);
|
|
18
|
+
action?: string | [string, any] | (() => PromiseLike<void> | void);
|
|
19
19
|
};
|