@etsoo/react 1.6.1 → 1.6.2

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.
@@ -14,7 +14,7 @@ export interface EventWatcherAction {
14
14
  /**
15
15
  * Action
16
16
  */
17
- action: (event: React.BaseSyntheticEvent | string) => void | PromiseLike<void>;
17
+ action: (event: React.BaseSyntheticEvent | string) => any;
18
18
  }
19
19
  /**
20
20
  * Event watcher
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -17,9 +17,7 @@ export interface EventWatcherAction {
17
17
  /**
18
18
  * Action
19
19
  */
20
- action: (
21
- event: React.BaseSyntheticEvent | string
22
- ) => void | PromiseLike<void>;
20
+ action: (event: React.BaseSyntheticEvent | string) => any;
23
21
  }
24
22
 
25
23
  /**