@gadeoli/rjs-hooks-library 0.2.2 → 0.2.3

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.
@@ -1,3 +1,3 @@
1
1
  export interface useOnPressKeyProps {
2
- (keyAsc: number, action: any, modifierKey: string | null): void;
2
+ (keyAsc: number, action: any, modifierKey?: string | null): void;
3
3
  }
@@ -1,3 +1,3 @@
1
1
  export interface useOnPressKeyProps {
2
- (keyAsc: number, action: any, modifierKey: string | null): void;
2
+ (keyAsc: number, action: any, modifierKey?: string | null): void;
3
3
  }
package/dist/index.d.ts CHANGED
@@ -64,7 +64,7 @@ interface useWindowSizeProps {
64
64
  declare const useWindowSize: useWindowSizeProps;
65
65
 
66
66
  interface useOnPressKeyProps {
67
- (keyAsc: number, action: any, modifierKey: string | null): void;
67
+ (keyAsc: number, action: any, modifierKey?: string | null): void;
68
68
  }
69
69
 
70
70
  declare const useOnPressKey: useOnPressKeyProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gadeoli/rjs-hooks-library",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Some hooks for reactJS apps in one place",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",