@react-hookz/web
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -0,1 +1,8 @@ | ||
## [1.6.1](https://github.com/react-hookz/web/compare/v1.6.0...v1.6.1) (2021-04-21) | ||
### Bug Fixes | ||
* useUnmountEffect and useMountEffect typings fix ([32ec0c7](https://github.com/react-hookz/web/commit/32ec0c7f7b63c8d8941b95f5f8e5c369e5e87f1a)) | ||
# [1.6.0](https://github.com/react-hookz/web/compare/v1.5.0...v1.6.0) (2021-04-21) | ||
@@ -2,0 +9,0 @@ |
@@ -1,2 +0,1 @@ | ||
import { EffectCallback } from 'react'; | ||
/** | ||
@@ -7,2 +6,2 @@ * Run effect only when component is first mounted. | ||
*/ | ||
export declare function useMountEffect(effect: EffectCallback): void; | ||
export declare function useMountEffect(effect: CallableFunction): void; |
@@ -1,2 +0,1 @@ | ||
import { EffectCallback } from 'react'; | ||
/** | ||
@@ -7,2 +6,2 @@ * Run effect only when component is unmounted. | ||
*/ | ||
export declare function useUnmountEffect(effect: EffectCallback): void; | ||
export declare function useUnmountEffect(effect: CallableFunction): void; |
{ | ||
"name": "@react-hookz/web", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18324
152