@bigbinary/neeto-commons-frontend 2.0.101 → 2.0.103

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "2.0.101",
3
+ "version": "2.0.103",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
package/utils.d.ts CHANGED
@@ -19,7 +19,7 @@ export function resetAuthTokens(): void;
19
19
  * // For example, in this case when user types "1" in the input field, "Value = 1" will be printed in the console.
20
20
  * @endexample
21
21
  */
22
- export function withEventTargetValue(func: (value: string) => void, event: React.ChangeEventHandler<HTMLInputElement>): void;
22
+ export function withEventTargetValue(func: (value: string) => void, event: React.ChangeEvent): void;
23
23
  /**
24
24
  *
25
25
  * Curried: true
@@ -37,7 +37,7 @@ export function withEventTargetValue(func: (value: string) => void, event: React
37
37
  * // For example, in this case when user types "1" in the input field, "Value = 1" will be printed in the console.
38
38
  * @endexample
39
39
  */
40
- export function withEventTargetValue(func: (value: string) => void): (event: React.ChangeEventHandler<HTMLInputElement>) => void;
40
+ export function withEventTargetValue(func: (value: string) => void): React.ChangeEventHandler;
41
41
  /**
42
42
  *
43
43
  * Curried: false